Difference between revisions of "Amazon Elastic Compute Cloud (EC2)"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
Amazon [[AWS]] offers different [[wikipedia:Elastic Compute Cloud]] (EC2) [[Amazon EC2 Instance types|instance types]]<ref>{{Cite web|url=https://aws.amazon.com/ec2/instance-types/?sc_channel=PS&sc_campaign=acquisition_HK&sc_publisher=google&sc_medium=ec2_b&sc_content=sitelink&sc_detail=aws%20ec2&sc_category=ec2&sc_segment=instance_types&sc_matchtype=e&sc_country=HK&s_kwcid=AL!4422!3!154806620787!e!!g!!aws%20ec2&ef_id=WMKCdAAAAFkeBvWy:20171231110522:s|title=Amazon EC2 Instance Types – Amazon Web Services (AWS)|website=Amazon Web Services, Inc.|language=en-US|access-date=2018-02-23}}</ref>, you will have to select the appropriate instance according to your computing demands and prices. [[AWS price calculator]] can help you to calculate your costs: https://calculator.s3.amazonaws.com/index.html. | Amazon [[AWS]] offers different [[wikipedia:Elastic Compute Cloud]] (EC2) [[Amazon EC2 Instance types|instance types]]<ref>{{Cite web|url=https://aws.amazon.com/ec2/instance-types/?sc_channel=PS&sc_campaign=acquisition_HK&sc_publisher=google&sc_medium=ec2_b&sc_content=sitelink&sc_detail=aws%20ec2&sc_category=ec2&sc_segment=instance_types&sc_matchtype=e&sc_country=HK&s_kwcid=AL!4422!3!154806620787!e!!g!!aws%20ec2&ef_id=WMKCdAAAAFkeBvWy:20171231110522:s|title=Amazon EC2 Instance Types – Amazon Web Services (AWS)|website=Amazon Web Services, Inc.|language=en-US|access-date=2018-02-23}}</ref>, you will have to select the appropriate instance according to your computing demands and prices. [[AWS price calculator]] can help you to calculate your costs: https://calculator.s3.amazonaws.com/index.html. | ||
− | * General Purpose: M5, M4, T2<ref>https://aws.amazon.com/ec2/instance-types/t2/</ref>, [[t2.micro]] instances are [[free tier]] eligible, T2 ulimited (not free tier eligible) | + | * General Purpose: M5, M4, T2<ref>https://aws.amazon.com/ec2/instance-types/t2/</ref>, [[t2.micro]] instances are [[free tier]] eligible, T2 ulimited (not free tier eligible), [[T3]] |
* Compute Optimized: C5 (since November 2017) <ref>https://aws.amazon.com/blogs/aws/now-available-compute-intensive-c5-instances-for-amazon-ec2/</ref>, C4. C5 instances are cheaper and more powerful than C4 instances. | * Compute Optimized: C5 (since November 2017) <ref>https://aws.amazon.com/blogs/aws/now-available-compute-intensive-c5-instances-for-amazon-ec2/</ref>, C4. C5 instances are cheaper and more powerful than C4 instances. | ||
* [[Memory Optimized]]: X1e, X1, R4 | * [[Memory Optimized]]: X1e, X1, R4 | ||
Line 23: | Line 23: | ||
* Feb 2018 [[AWS Instance Scheduler]] | * Feb 2018 [[AWS Instance Scheduler]] | ||
* Jun 2012 [[IAM roles for EC2 instances]] | * Jun 2012 [[IAM roles for EC2 instances]] | ||
+ | |||
+ | == Errors == | ||
+ | * <code>[[This account is not authorized to use the EC2 serial console]]</code> | ||
== Activities == | == Activities == |
Latest revision as of 11:18, 28 August 2024
Amazon AWS offers different wikipedia:Elastic Compute Cloud (EC2) instance types[1], you will have to select the appropriate instance according to your computing demands and prices. AWS price calculator can help you to calculate your costs: https://calculator.s3.amazonaws.com/index.html.
- General Purpose: M5, M4, T2[2], t2.micro instances are free tier eligible, T2 ulimited (not free tier eligible), T3
- Compute Optimized: C5 (since November 2017) [3], C4. C5 instances are cheaper and more powerful than C4 instances.
- Memory Optimized: X1e, X1, R4
- Accelerated Computing: P3, P2, G3, F1
- Storage Optimized: H1, I3, D2
EBS storage can be attached to ECS instances.
Pricing:
IaC[edit]
aws ec2 run-instances
- Terraform resource:
aws_instance
- Terraform module: ec2-instance
Timeline[edit]
- March 2022 Amazon EC2 adds new AMI property to view timestamp of the latest instance launch using the AMI: https://aws.amazon.com/about-aws/whats-new/2022/03/amazon-ec2-ami-timestamp-instance-launch/
- Sep 2021 Amazon EC2 Global View
- AWS GuardDuty EC2 Instance Credential Exfiltration [5]
- July 2018, New
R5, R5d
, andz1d
Instances available.[6] - Feb 2018 AWS Instance Scheduler
- Jun 2012 IAM roles for EC2 instances
Errors[edit]
Activities[edit]
- Read https://aws.amazon.com/blogs/aws/ec2-classic-is-retiring-heres-how-to-prepare/
- Create aws ec2 instance with ansible
- Monitor memory and disk metrics for Amazon EC2 Linux instances
Related terms[edit]
ec2-user
and Ubuntu usernamesec2-instance-connect
chmod 400 YOUR_KEY.pem
- Amazon EC2 Spot
- Amazon EC2 service quotas[7]
- Basic and advanced monitoring
- Burstable, CPU credits
- macOS, MacStadium
- AWS CloudFormation:
AWS::EC2
- Amazon EC2 Auto Scaling
- Azure Virtual Machines
- IAM roles for EC2 instances
- AWS launch template:
aws ec2 create-launch-template
- AWS CloudWatch
- AWS: 169.254.169.254
- CloudTrail Events
- amazon-cloudwatch-agent-ctl
See also[edit]
- AWS EC2, AWS::EC2,
aws ec2
[describe-instances | describe-instance-status
|run-instances | terminate-instances | stop-instances
|tags
|describe-vpcs
|describe-addresses
|describe-availability-zones
|describe-subnets
|import-key-pair
|create-key-pair
|create-vpc
|create-internet-gateway
|modify-instance-attribute | ec2-instance-connect | get-console-output
] - AWS EC2, Amazon EC2 API,
aws ec2, AWS::EC2
, Amazon EC2 Spot Instances, CPU credits, Instance type, EC2 limitations, 169.254.169.254, Instance metadata and user data (IMDS),InstanceType, InstanceId
, Amazon EC2 Auto Scaling, AWS EC2 Instance Connect, launch template, lifecycle, AWS Security group (SG), Amazon EC2 Recycle Bin, Amazon EC2 Mac Instances, Global View - AWS computing, AWS EC2, Amazon EC2 Spot Instances, Amazon EC2 Reserved Instances, Amazon EC2 Instance types
Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy.
Source: wikiversity
- ↑ "Amazon EC2 Instance Types – Amazon Web Services (AWS)". Amazon Web Services, Inc. Retrieved 2018-02-23.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
- ↑ https://aws.amazon.com/ec2/instance-types/t2/
- ↑ https://aws.amazon.com/blogs/aws/now-available-compute-intensive-c5-instances-for-amazon-ec2/
- ↑ https://calculator.aws/#/estimate?id=5bec502f704d9dcbd5458d09be4ef6d11fe20feb
- ↑ https://aws.amazon.com/blogs/aws/amazon-guardduty-enhances-detection-of-ec2-instance-credential-exfiltration/
- ↑ https://aws.amazon.com/blogs/aws/now-available-r5-r5d-and-z1d-instances/
- ↑ https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html
Advertising: