Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Cloud 101

Cloud 101

Introduction to the cloud. A session conducted to the Computer Science students at the University of Sri Jayawardanapura

More Decks by Rumesh Eranga Hapuarachchi

Other Decks in Programming

Transcript

  1. What is Cloud? Storing and accessing Data and Programs over

    the Internet instead of your computer’s hard drive.
  2. Myth 1 Cloud providers can spy on my activities and

    data. Why? Cloud providers have built in security mechanisms(i.e. Multi tenancy) and data compliance standards (i.e. GDPR) to ensure your privacy.
  3. Myth 2 When a web based system is hosted in

    the cloud the web based system becomes a cloud system. Why? When a web based system does not consist of delivery models such as SaaS or PaaS it is not a cloud based system.
  4. Myth 3 Moving to the cloud completely cuts down the

    operational cost. Why? As the application grows and scales out and as the workload increase the operational cost can go up.
  5. Myth 4 Cloud systems are unreliable and if the service

    fails the data can be lost. Why? Cloud providers provide reliable storage mechanisms and backup feature to keep the data secure.
  6. Myth 5 The cloud is too complex for the developers.

    Why? Cloud providers provide user friendly features to develop, deploy and monitor the system hosted in the cloud. There’s always a big community to support you.
  7. Simple Storage Service •Storage for the internet. Natively online. •Store

    and retrieve any amount of data, any time, anywhere •Highly scalable, reliable, fast and durable (99.999999999%)
  8. Elastic Block Store •Persistent block level storage •Used with VM

    •Instance independent storage •Snapshots •General Purpose (SSD) •Provisioned IOPS (SSD)
  9. Elastic Compute Cloud • Resizable compute capacity • Complete control

    of resources • Pay as you go • Scale according to your needs • Different Classes for different purposes
  10. Auto Scaling • Scale EC2 capacity automatically • Well suited

    for applications with variable usage • No additional cost
  11. Elastic Load Balancing • Classic, Application • Support different protocols

    including HTTP, HTTPS and TCP traffic • ELB health checks • Integrate with Auto-scaling • No IP, single CNAME
  12. DynamoDB • Fully managed NoSQL database • Store any amount

    of data • Fast, predictable performance • WCU, RCU • MapReduce integration • Auto Scaling
  13. Relational Database Service • Cost efficient and resizable capacity •

    MySql, MS-SQL, Oracle, PostgreSQL • Aurora • Multi AZ • Managed software updates and backups
  14. ElastiCache • Memcached complient • Managed pathing, node failure detection

    and recovery • Simple API calls to grow and shrink Cluster • Seamlessly caches in front of RDS and DynamoDB • Integrate with CloudWatch, SNS
  15. Route 53 • Route end users to internet applications •

    Answer DNS queries with low latency by using global network of DNS servers
  16. CloudFront • Web Service for content delivery • Cache static

    content • Act as a Proxy • Distribute content to end users with low latency, high speed.
  17. Elastic Beanstalk • Automatically handles the deployment details of capacity

    provisioning, load balancing, auto scaling and health monitoring • Retain Full control over AWS resources
  18. CloudFormation • Infrastructure as Code • Template of stacks •

    Deploy with runtime parameters • Generate templates from running environments
  19. CloudWatch • Monitor utilization and overall demand patterns • CPU

    utilization • Disk reads and writes • Network Traffic • Custom metrics
  20. •Thomson Reuters processes 4000 request per second •FINRA processes half

    a trillion validations of stock trades daily •Hearst reduced the time to ingest and process data for its analytics pipeline by 97% •Vevo can handle spikes of 80x normal traffic •Expedia triggers 1.2 billion Lambda requests each month •Alternative Australian Bureau of Statistics Census website.
  21. Scenario: 1600 request/day @200ms avg = 3,200,000 ms/day 2x c3.large

    1yr up-front reserved No multi AZ No burst handling 1024 mb memory Handles HA & bursts $0.0000016/100m s $2.97/day $0.05/day Pricing example credits: AWS re:Invent 2015 | (DVO209) JAWS: The Monstrously Scalable Serverless
  22. Amazo n S3 Amazon DynamoDB Amazon RDS Amazon API Gateway

    Amazon SQS Amazon SNS Amazo n Kinesis AWS Step Functions AWS X-Ray AWS Lambda Toolbox