Cloud Practitioner Domain -3

  • There are 3 main areas of cost with AWS – Compute , Storage and outbound data transfer i.e. data out from aws cloud.
  • Any amount of data transferred  into aws cloud is free .
  • Data transferred between aws resources within the same region is free.
  • Data transferred out from aws is chargeable . It is aggregated across all the services and charged per GB. More the data transfer out less you will be charged.
  • AWS works on Pay as you go model. There is no minimum commitment.
  • AWS offers three pricing model in case of compute and database services. On-Demand means launch the resources whenever you want with no long term commitment. Dedicated instance If you need dedicated hardware for your application. Of course it cost you more.Spot Instances means you purchase instances at discounted hourly rate. Reserve instances means you are Purchasing the instances with 1 yr. or 3 yr. commitment.
  • On demand Instances are best suitable for Applications with short-term, spiky, or unpredictable workloads that cannot be interrupted.
  • Spot instances are used for the application that have flexible start and end times.
  • Reserve Instances are best suited for application which have predictable load and steady state usage.
  • Dedicated hosts is although costliest in these three option but if you have existing server bound software Licenses you can use this to reduce the overall cost.They can also help you to meet compliance requirements.
  • Linux instances are billed on per second basis ,whereas Windows instances are billed on per hour basis .
  • Amazon EC2 costs estimation includes clock hours of server up time, which instance type you are choosing, what’s the pricing model is (on demand, Spot or reserve), how many instances you are launching , which O.S you want to take.
  • AWS Lambda costs estimate includes number of requests of your functions and time taken to execute that function . Pricing varies upon memory allocation on the lambda function.
  • Amazon Elastic Block Storage (EBS) costs estimates includes volume storage and type, frequency of snapshots you take and data transfer from EBS.
  • Amazon S3 costs estimates includes storage class (S3-IA, S3-RRS or Glacier) , storage volume, GET , PUT and COPY requests and data transfer out from S3.
  • Amazon RDS costs estimates includes clock hours of server up time , Database engine , size & memory, Database purchase type (on-demand or RI),Storage type (provisioned or SSD),No of requests ,Deployment type (single A-Z or Multi AZ) and Data Transfer out.
  • Amazon Cloud Front cost estimate includes Traffic distribution across various geographic region, Number and type of HTTP/HTTPS requests and data transfer out from Cloud Front.

AWS Billing Alarm :- Billing Alerts/Billing Alarm will alert you automatically when a certain level of AWS spend has been reached. Billing metric data is stored in US East(N.Virginia) region and represents worldwide charges. This data includes the estimated charges for every service in AWS that you use, in addition to the estimated overall total of your AWS charges.

AWS Free Services

  • Amazon VPC
  • ElasticBeanstalk
  • CloudFormation
  • AutoScaling
  • Identity and Access Management (IAM)
  • Opsworks
  • Consolidated Billing

AWS Support Plans

  • Basic(Free)
    • Basic Support is included for all AWS customers.
    • 24×7 access to customer service, documentation, whitepapers, and support forums.
    • Access to the 7 core Trusted Advisor checks and guidance to provision your resources following best practices to increase performance and improve security.
  • Developer
    • Recommended if you are experimenting or testing in AWS.
    • Access to the 7 core Trusted Advisor checks and guidance to provision your resources following best practices to increase performance and improve security
    • Cost consists of Greater of $29 or 3% of AWS Monthly Usage.For example if your aws monthly bill is of $100 . 3% of $100 is $3. Your developer support charge will be $29. because $29 > $3.
    • Business hours email access to Support Engineers.
    • Unlimited cases / 1 primary contact.
    • Response Time:
      • General guidance <24 Business Hours
      • System impaired <12 business Hours
  • Business
    • Recommended if you have production workloads in AWS.
    • Access to the All Trusted Advisor checks and guidance to provision your resources following best practices to increase performance and improve security
    • 24×7 phone, email, and chat access to Support Engineers.
    • Unlimited cases / unlimited contacts (IAM supported).
    • Response Time :
      • General guidance <24 Hours
      • System impaired <12 Hours
      • Production System impaired <4 Hours
      • Production System Down <1 Hours
    • Architectural Guidance
      • Contextual to your use-cases
    • Programmatic Case Management:
      • AWS Support API
    • Third-Party Software Support
      • Interoperability & configuration guidance and troubleshooting
    • Proactive Programs
      • Access to Infrastructure Event Management for additional fee.
    • Costs :- Starts at $100 / month and it varies according to your AWS monthly bill.
  • Enterprise
    • Recommended if you have business and/or mission critical workloads in AWS
    • Access to the All Trusted Advisor checks and guidance to provision your resources following best practices to increase performance and improve security
    • 24×7 phone, email, and chat access to Support Engineers
    • Unlimited cases / unlimited contacts (IAM supported)
    • Response Time :
      • General guidance < 24 hours
      • System impaired < 12 hours
      • Production system impaired <4 hours
      • Production system down < 1 hour
      • Business-critical system down < 15 minutes
    • Architectural Guidance
      • Consultative review and guidance based on your applications
    • Programmatic Case Management
      • AWS Support API
    • Third-Party Software Support
      • Interoperability & configuration guidance and troubleshooting
    • Proactive Programs
      • Infrastructure Event Management
      • Well-Architected Reviews
      • Technical Account Manager (TAM) coordinates access to programs and other AWS experts as needed.
    • Technical Account Management
      • Designated Technical Account Manager (TAM) to proactively monitor your environment and assist with optimization
    • Training
      • Access to online self-paced labs
    • Account Assistance
      • Concierge Support Team
    • Pricing
      • Starts at $15K / month

Resource Groups and Tagging

  • Tag
    • A tag is a label that you assign to an AWS resource.
    • A tag consists of a key and a value, both of which you define.For example,if you have two Amazon EC2 instances, you might assign both a tag key of “Environment.” But the value of “Environment” might be “Testing” for one and “Production” for the other.
    • Tagging can help you organize your resources and enables you to simplify resource management, access management and cost allocation.
    • The tag limit varies with the resource, but most can have up to 50 tags.Not all resources can have tags.
  • Resource Groups
    • A resource group is a collection of AWS resources that are all in the same AWS region, You can group resources that shares one or more tags.
    • Resource groups make it easier to manage and automate tasks on large numbers of resources at one time.
    • You can use resource groups to organize your AWS resources.

AWS Organization and Consolidated Billing

  • AWS Organization
    • An organization is a collection of AWS accounts that you can organize into a hierarchy and manage centrally.
    • In the organization you create a master account.From the master account, you can create other accounts in your organization, invite and manage invitations for other accounts to join your organization, and remove accounts from your organization
    • You can also attach policies to entities such as administrative roots, organizational units (OUs), or accounts within your organization.
    • The master account has the role of a payer account and is responsible for paying all charges accrued by the accounts in its organization.
    • AWS Organizations is Free service and offered at no additional charge.
    • Best Practices to follow in Organization account
      • Always use MFA on Master/Payer account
      • Use complex root password for Master/Payer account.
      • Do not deploy resources in Master/payer account . Use it only for billing purpose.
  • Consolidated Billing
    • Consolidated Billing is the feature in AWS Organizations to consolidate billing and payment for multiple AWS accounts or multiple Amazon Internet Services Pvt. Ltd (AISPL) accounts.
    • Every organization in AWS Organizations has a master account that pays the charges of all the member accounts.The master account is called a payer account, and the member account is called a linked account
    • Features of Consolidated Billing
      • One bill – You get one bill for multiple aws accounts
      • Easy tracking – You can track the charges across multiple accounts and download the combined cost and usage data.
      • Volume Discount – You can combine the usage across all accounts in the organization to share the volume pricing discounts and Reserved Instance discounts.
      • No extra fee – Consolidated billing is offered at no additional cost.

AWS Calculators

AWS Provides two types of calculator to calculate your estimated cost to run an application on AWS

  • AWS Simply Monthly Calculator :- It is used to calculate your monthly running cost on AWS cloud. It is not a comparison tool like TCO Calculator
  • AWS TCO Calculator :- Use this calculator to compare the cost of running your applications in an on-premises or co-location environment to AWS. Describe your on-premises or co-location configuration to produce a detailed cost comparison with AWS. TCO calculators allow you to estimate the cost savings when using AWS and provide a detailed set of reports that can be used in executive presentations.