Cloud Concepts and Technology Flashcards
Advantages of cloud computing
- Trade capital expense for variable expense
- Benefit from massive economies of scale
- Stop guessing about capacity
- Increase speed and agility
- Stop spending money running and maintaining data centres
- Go global in minutes
Types of cloud computing
- Infrastructure As A Service (IAAS) - AWS EC2
- Platform As A Service (PAAS) - GoDaddy, Elastic Beans
- Software As A Service (SAAS) - Gmail
Types of Cloud Computing Deployments
- Public Cloud - AWS, Azure, GCP
- Hybrid - Mixture of public and private
- Private Cloud (Or on Premise)
High level services (For this exam)
- Compute
- Storage
- Databases
- Security, Identity & Compliance
- AWS Cost management
What is region and AZ?
Availability Zone is like a data centre. It can have 1 or more data centres.
The region is a geographical area consisting of 2 or more AZ’s.
What is Edge localtion?
They are endpoints for AWS which are used for caching content. Typically this consists of CloudFront (AWS CDN).
How to choose AWS region?
- Data Sovereignty Laws
- Latency to end-users
- AWS Services
AWS Support plans
- Basic - Free
- Developer - $29/month
- Business - $100/month
- Enterprise - $15,000/month, TAM
What is IAM?
Identity Access Management. It is Global and you do not specify a region when dealing with IAM. When a user or group gets created, it is globally created.
What is S3?
Simple Storage Service
- Safe place to store your files.
- Object based storage
- data is spread across multiple devices and facilities
- 0 Bytes to 5 TB
- Unlimited storage
- Stored under buckets
- S3 is a universal namespace. Names must be unique globally.
- When upload a file to S3, you will receive HTTP 200.
- Cross region replication
Data consistency Model for S3
- Read after Write consistency for PUTS of new objects
- Eventual Consistency for overwrite PUTS and DELETES (can take some time to propagate)
S3 features
- Tiered storage available
- Lifecycle Management
- Versioning
- Encryption
- Secure data using Access Control Lists and Bucket Policies
S3 Storage classes
- S3 Standard
- S3 - IA (Infrequently Accessed)
- S3 One Zone - IA
- S3 - Intelligent Tiering
- S3 Glacier
- S3 Glacier Deep Archive
S3 charges
- Storage
- Requests
- Storage Management Pricing
- Data Transfer Pricing
- Transfer Acceleration
- Cross Region Replication Pricing
S3 Transfer Acceleration
Upload on the edge location closed to your location.
Ways to restrict S3 bucket access?
- Using bucket policies - Applied to whole bucket
- Using Object policies - Applied to individual files
- IAM policies to Users & Groups - Applied to user & groups
What is CloudFront?
A content delivery network (CDN) is a system of distributed servers (network)
that deliver webpages and other web content to a user based on the geographic locations of the user, the origin of the webpage, and a content delivery server.
What is TTL?
Time to live
CloudFront - Key Terminology
- Web Distribution - Typically used for websites
- RTMP - Used for Media Streaming
What is EC2?
Elastic Compute Cloud
Is just a virtual server (or servers) in the cloud.
EC2 reduces the time required to obtain and boot new server instances to minutes, allowing you to quickly scale capacity, both up and down, as your computing requirements change.
EC2 Pricing Models
- On Demand - allows you to pay a fixed rate by the hour (or by the second) with no commitment.
- Reserved - Provides you with a capacity reservation, and offer a significant discount on the hourly change for an instance. Contract terms are 1 yr or 3 yrs.
- Spot - Enables you to bid whatever price you want for instance capacity, providing for even greater savings if your applications have flexible start and end times.
- Dedicated Hosts - Physical EC2 server dedicated for your use. Dedicated hosts can help you reduce costs by allowing you to use your existing server-bound software licenses.
What is EBS?
(Elastic Block Storage)
- Storage for EC2 instances (Virtual Disk)
EBS allows you to create storage volumes and attach them to EC2 instances. Once attached, you can create a file system on top of these volumes, run a database, or use them in any other way you would use a block device. EBS volumes are placed in a specific AZ, where they are automatically replicated to protect you from the failure of a single component.
Types of EBS
- SSD
1.1 General Purpose SSD (GP2)
1.2 Provisioned IOPS SSD (I01) - Magnetic
2.1 Throughput Optimized HDD (ST1)
2.2 Cold HDD (SC1)
2.3 Magnetic
Ways to interact with AWS?
- Using console
- Using CLI
- Using SDK’s