Exam Flashcards
(156 cards)
What is CloudWatch?
- CloudWatch is used for monitoring performance.
- CloudWatch can monitor most of AWS as well as your applications that run on AWS.
- CloudWatch with EC2 will monitor events every 5 minutes by default.
- You can have 1 minute intervals by turning on detailed monitoring.
- You can create CloudWatch alarms which trigger notifications.
- CloudWatch is all about performance.
Multiple EC2 instances is called what?
EC2 Fleet
What is an AWS Systems Manager?
- Systems Manager is a piece of software used to manage fleets of EC2 instances and virtual machines.
- Can be both inside AWS and on premise.
- Run Command is used to install, patch, uninstall software
- Integrates with CloudWatch to give you a dashboard of your entire estate.
List the 6 Advantages of Cloud.
- 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 centers
- Go global in minutes
List the 3 Types of Cloud Computing.
- Infrastructure as a Service (IaaS) (ex. EC2)
- Platform as a Service (PaaS) (ex. Elastic Beanstalk)
- Software as a Service (SaaS) (ex. Gmail)
List the 3 Types of Cloud Computing Deployments
- Public Cloud - AWS, Azure, GCP
- Hybrid - Mixture of public and private
- Private Cloud (or On Premise) - You manage it, in your datacenter (ex. Openstack or Vmware)
Explain the difference between a region, an Availability Zone (AZ) and an Edge Location.
- A Region is a physical location in the world which consists of two or more Availability Zones (AZ’s)
- An Availability Zone is one or more discrete data centers, each with redundant power, networking and connectivity, housed in separate facilities
- Edge Locations are endpoints for AWS which are used for cashing content. Typically this consists of CloudFront, Amazon’s Content Delivery Network (CDN)
What is Amazon CloudFront and how does it work?
CloudFront is Amazon’s Content Delivery Network (CDN)
The first time a user requests a file it queries an edge location. If that file is not on that edge location
it will download it from the origin (such as an S3 bucket). The next time a user requests the file, that file will be at the edge location and can be accessed right away.
- Edge location - location where content will be cached (this is separate to an AWS Region or Availability Zone).
- Origin - the origin of the files that Amazon’s Content Delivery Network (CDN) will distribute. This can either be an S3 Bucket, an EC2 instance, an Elastic Load Balancer or Route 53
- Distribution - the name given to the CDN network and
consists of a collection of Edge Locations. There are two different types: 1) Web Distribution (websites), and 2) RTMP (media streaming)
How do you choose the right AWS Region?
- Data Sovereignty Laws (ex. regulatory restrictions on offshore data storage)
- Latency to end users
- AWS Services (not all services are available everywhere)
Explain the different AWS support packages available.
- Basic - Free
- Developer - $29 a month (scales based on usage)
- Business - $100 a month (scales based on usage)
- Enterprise - $15k a month (scales based on usage) - TAM, Technical Account Manager)
Exam Tip:
Billing Alerts or Billing Alarms will alert you automatically when a certain level of AWS spend has been reached. If you are learning AWS for the first time you should turn it on so that you don’t spend money without realizing it.
How can you access the AWS platform?
- Via the Console
- Programmatically (using command line)
- Using the Software Developers Kit (SDK)
IAM
IAM stands for Identity Access Management.
You don’t specify a region when dealing with IAM,
it’s global and when you create a user or
a group these are created globally.
What is a root account?
Your root account is the email address that you used to set up your AWS account. The root account always has full administrator access. You should never give these account credentials away to anyone instead you should be creating a user for each individual, individually, within your organization and you should always secure this root account using multi-factor authentication
What is a user group?
A group is simply a place to store your users. Your users will always inherit the permissions that the group has, example groups might be Developers, System Administrators, Humans Resources, Finance, et cetera.
And then to set the permissions in a group you need to create or attach a policy to that group.
What is a user group policy?
To set the permissions in a group you need to create or attach a policy to that group. Policies consist of Java Script Object Notation (or JSON) and these are referred to as key value pairs, and you’ll always have your keys such as name and then the values
What is Amazon S3?
- Object-based (i.e., allows you to upload files)
- Files can be from 0 Bytes to 5 TB
- There is unlimited storage
- Files are stored in Buckets
- S3 is a universal namespace, so names must be unique globally
- Not suitable to install an operating system on
- Successful uploads will generate a HTTP 200 status code
ex. https://selectedregion.amazonaws.com/bucket-name
List the Key Fundamentals of S3.
- Key (This is simply the name of the object)
- Value (This is simply the data and is made up of a sequence of bytes).
- Read after Write consistency for PUTS of new Objects
- Eventual Consistency for overwrite PUTS and DELETES (can take some time to propagate)
Explain the Consistency Model for Amazon S3.
If you put an object up in S3 immediately (new object), you’ll be able to read that new object straight away,
but if you update an object or delete an object it can take time to propagate, for example, if you update an object and you go to read it immediately you may get the old object or you may get the new object but if you wait a couple of seconds then you’ll get the newly uploaded object.
Amazon Buckets
- When you view your buckets, you view them globally but you can have buckets in individual regions.
- You can use bucket policies to make everything in S3 bucket public.
What is Cross Region Replication?
When you replicate the contents of one bucket to another bucket in another region, this is called Cross region replication.
For example, say you’ve got a bucket in US East 1 and you want to have a backup bucket in Sydney, as soon as you write that file to S3 it will be replicated automatically over to Sydney.
What is an S3 Transfer Acceleration?
Instead of uploading data directly to an S3 Bucket, data is uploaded to Edge Locations and then runs through Amazon’s dedicated cable network to the S3 Bucket
List the 6 different types of S3 storage classes.
- S3 Standard: gives you 99.99% availability and eleven 9’s durability. It’s stored across multiple availability zones and is designed to sustain
the loss of two facilities concurrently. - S3 - IA (Infrequently Accessed): this is for data that’s accessed less frequently but requires rapid access
when you need it, it’s lower than S3, but you are still charged a retrieval fee. - S3 One Zone - IA (Infrequently Accessed): low cost for infrequently accessed data and only uses one availability zones.
- S3 Intelligent Tiering: designed to optimize cost by using machine learning automatically moving your data to the most cost effective tier
- S3 Glacier: secure, durable and low-cost storage class for data archival, your retrieval time is configurable from minutes up to hours.
- S3 Glacier Deep Archive: lowest S3 cost storage class, retrieval time of 12 hours is acceptable.
What types of websites can you host in Amazon S3?
S3 can be used to host static websites such as .HTML.
However, websites that required database connections such as WordPress cannot be hosted with S3.
S3 scales automatically to meet our demand. Many enterprises will use static websites in S3 if they think there’s going to be a large number of requests (such as a movie preview for example).