AWS - EC2

EC2

    Amazon Elastic Compute Cloud ( Amazon EC2 ) is a web service that provides resizable compute capacity in the cloud. Amazon EC2 reduces the time required to obtain and boot new server instances to minutes, allowing you to quickly scale capacity, both up and down, as your computing requirements change. (Virtual Machine in Cloud)


EC2 Options

  • On Demand - allow you to pay a fixed rate by the hour with no commitment.
  • Reserved - provide you with a capacity reservation, and offer a significant discount on the hourly charge for an instance. 1 Year or 3 Year Terms.
  • Spot - enable you to bid whatever price you want for instance capacity, providing for even greater savings if your applications have flexible start and end times.
  • Dedicated Hosts - 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.


EC2 Instance Types

DR Mc GIFT PX



What is EBS

Amazon EBS allows you to create storage volumes and attach them to Amazon EC2 instances. Once attached, you can create a file system on top of these volumes, run a database, or use them in any other way you would use a block device. Amazon EBS volumes are placed in a specific Availability Zone, where they are automatically replicated to protect you from the failure of a single component.


EBS Volume Types

  • General Purpose SSD (GP2) (Up to 10,000 IOPS)
  • Provisioned IOPS SSD (IO1) (More than 10,000 IOPS)
  • Throughput Optimized HDD (ST1) (frequently accessed workloads)
  • Cold HDD (SC1) (less frequently accessed data)
  • Magnetic (Standard) (cheap, infrequently accessed storage)

You cannot mount 1 EBS volume to multiple EC2 instances, instead use EFS.


Sport Prices - Exam Tip

If the Spot instance is terminated by Amazon EC2, you will not be charged for a partical hour of usage. However, if you terminate the instance yourself, you will be charged for any hour in which the instance ran.


猜你喜欢

转载自blog.csdn.net/MarvinChen003/article/details/80977139