AWS Billing and Pricing Flashcards
What is AWS’s Pay Model?
AWS works on a pay as you go model in which you only pay for what you use, when you are using it.
If you turn off resources, you don’t pay for them (you may pay for consumed storage).
There are no upfront charges, and you stop paying for a service when you stop using it.
What is AWS Termination Policy?
Aside from EC2 reserved instances you are not locked into long term contracts and can terminate whenever you choose to.
There are no termination fees.
Are volume discounts available for AWS?
Volume discounts are available so the more you use a service the cheaper it gets (per unit used).
What are the 3 fundamental drivers of cost in AWS?
Compute, storage, and outbound data transfer.
In most cases, there is no charge for inbound data transfer or for data transfer between other AWS services within the same region (there are some exceptions).
Outbound data transfer is aggregated across services and then charged at the outbound data transfer rate.
What is the free tier in AWS?
Free tier allows you to run certain resources for free.
Free tier includes offers that expire after 12 months and offers that never expire.
What are the pricing policies in AWS?
Pricing policies include:
Pay as you go.
Pay less when you reserve.
Pay even less per unit when using more.
Pay even less as AWS grows.
Custom pricing (enterprise customers only).
What are the free services in AWS?
Amazon VPC.
Elastic Beanstalk (but not the resources created).
CloudFormation (but not the resources created).
Identity Access Management (IAM).
Auto Scaling (but not the resources created).
OpsWorks.
Consolidated Billing.
What is Amazon EC2 pricing based on?
EC2 pricing is based on:
Clock hours of server uptime.
Instance configuration.
Instance type.
Number of instances.
Load balancing.
Detailed monitoring.
Auto Scaling (resources created).
Elastic IP addresses (charged if allocated but not used).
Operating systems and software packages.
What is EC2 On Demand?
Means you pay for compute or database capacity with no long-term commitments of upfront payments.
You pay for the computer capacity per hour or per second (Linux only, and applies to On-Demand, Reserved and Spot instances).
Recommended for users who prefer low cost and flexibility without upfront payment or long-term commitments.
Good for applications with short-term, spiky, or unpredictable workloads that cannot be interrupted.
What is EC2 Dedicated Hosts?
A dedicated host is an EC2 servers dedicated to a single customer.
Runs in your VPC.
Good for when you want to leverage existing server-bound software licenses such as Windows Server, SQL Server, and SUSE Linux Enterprise Server.
Also good for meeting compliance requirements.
What is EC2 Dedicated Instances?
Dedicated Instances are Amazon EC2 instances that run in a VPC on hardware that’s dedicated to a single customer.
Dedicated instances are physically isolated at the host hardware level from instances that belong to other AWS accounts.
Dedicated instances may share hardware with other instances from the same AWS account that are not Dedicated instances.
What is EC2 Spot Instances?
Purchase spare computing capacity with no upfront commitment at discounted hourly rates.
Provides up to 90% off the On-Demand price.
Recommended for applications that have flexible start and end times, applications that are only feasible at very low compute prices, and users with urgent computing needs for a lot of additional capacity.
In the old model Spot instances were terminated because of higher competing bids, in the new model this does not happen, but instances still may be terminated (with a 2-minute warning) when EC2 needs the capacity back – note: the exam may not be updated to reflect this yet.
What is EC2 Savings Plans?
Commitment to a consistent amount of usage (EC2 + Fargate + Lambda); Pay by $/hour; 1 or 3-year commitment.
What is EC2 Reservations?
Reserved instances provide significant discounts, up to 75% compared to On-Demand pricing, by paying for capacity ahead of time.
Provide a capacity reservation when applied to a specific Availability Zone.
Good for applications that have predictable usage, that need reserved capacity, and for customers who can commit to a 1 or 3-year term.
Reservation options include no upfront, partial upfront and all upfront.
What services do Reservations apply to?
Reservations apply to various services, including:
- Amazon EC2 Reserved Instances.
- Amazon DynamoDB Reserved Capacity.
- Amazon ElastiCache Reserved Nodes.
- Amazon RDS Reserved Instances.
- Amazon RedShift Reserved Instances.
What is Amazon S3 Pricing based on?
Storage pricing is determined by:
- Storage class – e.g., Standard or IA.
- Storage quantity – data volume stored in your buckets on a per GB basis.
- Number of requests – the number and type of requests, e.g., GET, PUT, POST, LIST, COPY.
- Lifecycle transitions requests – moving data between storage classes.
- Data transfer – data transferred out of an S3 region is charged.
What is Amazon Glacier Pricing?
Extremely low cost and you pay only for what you need with no commitments of upfront fees.
Charged for requests and data transferred out of Glacier.
“Amazon Glacier Select” pricing allows queries to run directly on data stored on Glacier without having to retrieve the archive. Priced on amount of data scanned, returned, and number of requests initiated.
What is AWS Snowball Pricing based on?
Pay a service fee per data transfer job and the cost of shipping the appliance.
Each job allows use of Snowball appliance for 10 days onsite for free.
Data transfer in to AWS is free and outbound is charged (per region pricing).
What is Amazon RDS pricing based on?
RDS pricing is determined by:
- Clock hours of server uptime – amount of time the DB instance is running.
- Database characteristics – e.g. database engine, size, and memory class.
- Database purchase type – e.g. On-Demand, Reserved.
- Number of database instances.
- Provisioned storage – backup is included up to 100% of the size of the DB. After the DB is terminated backup storage is charged per GB per month.
- Additional storage – the amount of storage in addition to the provisioned storage is charged per GB per month.
- Requests – the number of input and output requests to the DB.
- Deployment type – single AZ or multi-AZ.
- Data transfer – inbound is free, outbound data transfer costs are tiered.
- Reserved Instances – RDS RIs can be purchased with No Upfront, Partial Upfront, or All Upfront terms. Available for Aurora, MySQL, MariaDB, Oracle and SQL Server.
What is Amazon CloudFront pricing based on?
CloudFront pricing is determined by:
- Traffic distribution – data transfer and request pricing, varies across regions, and is based on the edge location from which the content is served.
- Requests – the number and type of requests (HTTP or HTTPS) and the geographic region in which they are made.
- Data transfer out – quantity of data transferred out of CloudFront edge locations.
- There are additional chargeable items such as invalidation requests, field-level encryption requests, and custom SSL certificates.
What is AWS Lambda pricing based on?
Pay only for what you use and charged based on the number of requests for functions and the time it takes to execute the code.
Price is dependent on the amount of memory allocated to the function.
What is Amazon EBS pricing based on?
Pricing is based on three factors:
- Volumes – volume storage for all EBS volumes type is charged by the amount of GB provisioned per month.
- Snapshots – based on the amount of space consumed by snapshots in S3. Copying snapshots is charged on the amount of data copied across regions.
- Data transfer – inbound data transfer is free, outbound data transfer charges are tiered.
What is Amazon DynamoDB Pricing based on?
Charged based on:
- Provisioned throughput (write).
- Provisioned throughput (read).
- Indexed data storage.
- Data transfer – no charge for data transfer between DynamoDB and other AWS services within the same region, across regions is charged on both sides of the transfer.
- Global tables – charged based on the resources associated with each replica of the table (replicated write capacity units, or rWCUs).
- Reserved Capacity – option available for a one-time upfront fee and commitment to paying a minimum usage level at specific hourly rates for the duration of the term. Additional throughput is charged at standard rates.
What is Amazon DynamoDB On-demand capacity mode?
On-demand capacity mode:
- Charged for reads and writes
- No need to specify how much capacity is required
- Good for unpredictable workloads