CS/Web

AWS certified cloud practitioner - EC2 Pricing Models, Billing and Pricing

daylee de vel 2021. 6. 8. 16:15

Index

EC2 Pricing Models

On-Demand
Reserved
Spot
Dedicated
Savings Plans

Billing and Pricing

Free Services
AWS Support Plans (Follow Along - Lets create a support case)
AWS Marketplace (Follow Along - Marketplace subscription)
AWS Trusted Advisor
Consolidated Billing & Volume Discounts
AWS Cost Explorer
AWS Budgets
TCO Calculator
AWS Landing Zone
Resource Groups and Tagging
AWS QuickStart
AWS Cost and Usage Report

☁️ EC2 Pricing Models

1) On-Demand

Least commitment

no upfront payment, no long term commitment
charged by the hour or mins, flexible
for workload is short-term, spikey or unpredictable, first time apps
Ideal when your workloads cannot be interrupted

2) Reserved Instances (RI)

long-term contract

for steady state or predictable usage

pricing is based on Term x Class Offering x Payment Option

  1. payment terms: 1 or 3 years
  2. class offerings
  • standard: up to 75% off cannot change RI Attribute
  • convertible: up to 54% off, allows you to change RI attributes, when room to grow in the future
  • scheduled: reserve for specific time period, when predictable heavy workload
  1. payment options: all upfront, partial, and no

unused RIs can be sold in the Reserved Instance Marketplace
Unlike Savings Plans, Reserved Instances do not require you to commit to a consistent amount of compute usage over the duration of the contract.

3) Spot

Biggest Savings (90% compared to On-Demand Pricing )
request spare, unused compute capacity

designed for app that have flexible start and end times or app that are only feasible at very low compute costs

Caveat, tradeoff: Instances can be terminated by AWS at anytime(don't get charged in this case but if you terminate, charged)
so use case: can handle interruptions, non-critical background jobs

4) Dedicated Host Instances

Most Expensive
can be on-demand or reserved

To meet strict regulatory requirements, when you have server-bound licensing that won't support multi-tenancy or cloud deployments

  • Multi-Tenant vs Single Tenant
    Multi: multiple customers on same H/W. Virtual Isolation seperates through S/W
    Single: dedicated H/W, physical Isolation

For enterprise and large organization may have security concerns or obligations against sharing the same H/W

5) Savings Plans

Amazon EC2 Savings Plans

Amazon EC2 Savings Plans enable you to reduce your compute costs by committing to a consistent amount of compute usage for a 1-year or 3-year term. This term commitment results in savings of up to 72% over On-Demand costs.

Any usage up to the commitment is charged at the discounted Savings Plan rate (for example, $10 an hour). Any usage beyond the commitment is charged at regular On-Demand rates.

EC2 Pricing CheatSheet

☁️ Billing and Pricing

Free Services

IAM: Identity Access Management

Services are free themselves, but the resources they setup will cost you! == services can provision AWS services which cost money

AWS Support Plans

TAM: Technical Account Manager

A resource that provides guidance, architectural reviews, and ongoing communication with your company as you plan, deploy, and optimize your applications

Trusted Advisor Checks

An online tool that inspects your AWS environment and provides real-time guidance in accordance with AWS best practices

exam: dif for tiers
People resource assigned only for Enterprise
response time
3rd party support from Business tier, developer tier doesn't support 3rd party such as Django, rails etc

AWS Marketplace

digital catalogue for S/W
can buy and sell solutions

Follow Along - Marketplace subscription

AWS Trusted Advisor

an automated checklist of best practices on AWS
advises you on security, saving money, performance, service limits and fault tolerance
Free: 7 trusted advisor checks
business, enterprise: ALL

Follow Along Trusted Advisor

Consolidated Billing

One bill for all of your accounts
Designate one master account that pays the charges of all member accounts
Cost Explore to visualize the bill

Consolidated Billing Volume Discounts

The more you use, the more you save

AWS Cost Explorer

Visualize and manage your AWS costs and usage over time

all costs will be consolidated in the master account.**
can use forecasting to get an idea of future costs**
gives you reports
filters and grouping functionalities to dig even deeper into your data

AWS Cost Explorer Follow Along

AWS Budgets

  • Review how much cost your predicted AWS usage will incur by the end of the month

Set up alerts
first two budgets are free
monthly, quarterly, yearly level
notified by email, chatbot
Cost, Reservation, Usage budgets

AWS Budgets Follow Along

TCO Calculator

Total Cost of Ownership
allows you to estimate how much you would save **when moving to AWS from on-premise**
TCO helps by reducing the need to invest in large capital expenditures

TCO Calculator Follow ALong

AWS Landing Zone

Helps Enterprises quickly set-up a secure, AWS multi-account
provides you a baseline enviroment to get started with a multi-account
AWS Account Vending Machine(AVM)
via Service Catalog Template

Resource Groups and Tagging

Tag: act as metadata for organizing your AWS resources

Resource Groups: a collection of resources that share tags

Resource Groups Follow Along

AWS QuickStart

Prebuilt templates to help you deploy popular stacks on AWS
AWS CloudFormation templates

AWS Cost and Usage Report

detailed spreadsheets, enabling you to better analyze and understand AWS costs, Places the reports into S3
Quicksight to graphs
Athena to turn into queryable database

Cost and Usage Follow Along

WS Certified Cloud Practitioner Training 2020 - Full Course
https://www.youtube.com/watch?v=3hLmDS179YE