MUST KNOW
-
- by OmVikramThapa
● 22 Regions as of 2020
● 61 Availability Zones
● 158 Edge Locations
● 212 Services as of 2020
EC2
WHY EC2?
⚫ TrueVirtual Computing Environment
⚫ Launch Instances with variety of OS
⚫ Pre Defined AMI (Amazon Machine Image)
⚫ Choose your own instance type (CPU, Memory, Size)
⚫ Specify your Geo location of choice
⚫ Pay only for the resources that you consume
⚫ Handy withVPC and ELB
⚫ Pause and Restart the instances
⚫ Flexible Storage System with EBS, EFS
⚫ High I/O Instances
⚫ Auto Scaling
⚫ Elastic IP Address
⚫ and many more...
Pricing
⚫ ON DEMAND INSTANCES
With On-Demand instances, you pay for compute
capacity by the hour or the second depending on which
instances you run. You can increase or decrease your
compute capacity depending on the demands of your
application and only pay the specified per hourly rates for
the instance you use.
⚫ SPOT INSTANCES
Amazon EC2 Spot instances allow you to request spare
Amazon EC2 computing capacity for up to 90% off the
On-Demand price.
PRICING
⚫ DEDICATED INSTANCES
A Dedicated Host is a 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
⚫ RESERVED INSTANCES
Reserved Instances provide you with a significant discount
(up to 75%) compared to On-Demand instance pricing. In
addition, when Reserved Instances are assigned to a
specific Availability Zone, they provide a capacity
reservation, giving you additional confidence in your ability
to launch instances when you need them.
INSTANCE
TYPES
⚫ GENERAL PURPOSE
⚫ CPU OPTIMIZED
⚫ MEMORY OPTIMIZED
⚫ ACCELERATED COMPUTING
⚫ STORAGE OPTIMIZED
https://www.ec2instances.info/
https://aws.amazon.com/ec2/instance-types/
ECS
WHY ECS?
⚫ Fully managed container orchestration service.
⚫ Able to quickly integrate with other AWS services
⚫ Enables you to run and manage Docker containers
⚫ ECS CLI helps to set up and run your containers easily
⚫ ECS allows you to define tasks through a declarative
JSON template called aTask Definition
⚫ REST Apis to integrate and extend the service
⚫ Allows easy upgrade of the container versions
⚫ Auto Recovery of Container
⚫ AWS EFS configuration is managed inside theTask
Definition
⚫ Scheduling -Tasks, Service, Daemon
⚫ Monitoring on CloudWatch, Logging on CloudTrail
⚫ and many more...
PRICING
⚫ EC2 LaunchType Model
There is no additional charge for EC2 launch type.
You pay for AWS resources (e.g. EC2 instances or
EBS volumes) you create to store and run your
application.
⚫ Fargate LaunchType Model
With Fargate, you pay for the amount of vCPU and
memory resources that your containerized
application requests. vCPU and memory resources
are calculated from the time your container images
are pulled until the Amazon ECS Task* terminates,
rounded up to the nearest second.
THANKYOU
EC2Video :
https://www.youtube.com/watch?v=TsRBftzZsQo
ECSVideo :
https://www.youtube.com/watch?v=1wLMLwjCqN4

AWS Must Know

  • 1.
    MUST KNOW - - byOmVikramThapa
  • 3.
    ● 22 Regionsas of 2020 ● 61 Availability Zones ● 158 Edge Locations ● 212 Services as of 2020
  • 7.
  • 8.
    WHY EC2? ⚫ TrueVirtualComputing Environment ⚫ Launch Instances with variety of OS ⚫ Pre Defined AMI (Amazon Machine Image) ⚫ Choose your own instance type (CPU, Memory, Size) ⚫ Specify your Geo location of choice ⚫ Pay only for the resources that you consume ⚫ Handy withVPC and ELB ⚫ Pause and Restart the instances ⚫ Flexible Storage System with EBS, EFS ⚫ High I/O Instances ⚫ Auto Scaling ⚫ Elastic IP Address ⚫ and many more...
  • 9.
    Pricing ⚫ ON DEMANDINSTANCES With On-Demand instances, you pay for compute capacity by the hour or the second depending on which instances you run. You can increase or decrease your compute capacity depending on the demands of your application and only pay the specified per hourly rates for the instance you use. ⚫ SPOT INSTANCES Amazon EC2 Spot instances allow you to request spare Amazon EC2 computing capacity for up to 90% off the On-Demand price.
  • 10.
    PRICING ⚫ DEDICATED INSTANCES ADedicated Host is a 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 ⚫ RESERVED INSTANCES Reserved Instances provide you with a significant discount (up to 75%) compared to On-Demand instance pricing. In addition, when Reserved Instances are assigned to a specific Availability Zone, they provide a capacity reservation, giving you additional confidence in your ability to launch instances when you need them.
  • 11.
    INSTANCE TYPES ⚫ GENERAL PURPOSE ⚫CPU OPTIMIZED ⚫ MEMORY OPTIMIZED ⚫ ACCELERATED COMPUTING ⚫ STORAGE OPTIMIZED https://www.ec2instances.info/ https://aws.amazon.com/ec2/instance-types/
  • 12.
  • 13.
    WHY ECS? ⚫ Fullymanaged container orchestration service. ⚫ Able to quickly integrate with other AWS services ⚫ Enables you to run and manage Docker containers ⚫ ECS CLI helps to set up and run your containers easily ⚫ ECS allows you to define tasks through a declarative JSON template called aTask Definition ⚫ REST Apis to integrate and extend the service ⚫ Allows easy upgrade of the container versions ⚫ Auto Recovery of Container ⚫ AWS EFS configuration is managed inside theTask Definition ⚫ Scheduling -Tasks, Service, Daemon ⚫ Monitoring on CloudWatch, Logging on CloudTrail ⚫ and many more...
  • 14.
    PRICING ⚫ EC2 LaunchTypeModel There is no additional charge for EC2 launch type. You pay for AWS resources (e.g. EC2 instances or EBS volumes) you create to store and run your application. ⚫ Fargate LaunchType Model With Fargate, you pay for the amount of vCPU and memory resources that your containerized application requests. vCPU and memory resources are calculated from the time your container images are pulled until the Amazon ECS Task* terminates, rounded up to the nearest second.
  • 15.