English Learning
AWS SAA 学习笔记
无麸质饮食记录
06-EC2
type
status
date
slug
summary
tags
category
icon
password
EC2
- Elastic Compute Cloud
- estimate capacity: for 3-5 years
- pricing options
- on demand
- reserved: for discount
- spot: purchase unused capacity
- feature
- stateless
- fault-tolerant
- flexible
- will be stoped while the price is above your limit
- dedicated: A physical ec2 server(most expensive)
- compliance
- licensing
- launch pools
- spot fleet: meet your capacity
- reserved instances
- standard: 买了不能改
- convertible:买了可以往上改
- scheduled:只买特定时间段
- AWS Command Line
- use in ec2
- such as
- aws s3 ls
- how to use it
- create ec2
- create iam users
- create user groups
- assign to target user groups & generate access key
- attach with role
- do things like aws configure
- more safer, because there is no password on the ec2
- security groups
- like virtual firewalls
- bootstrap scripts
- runs when the instance first runs
- metadata: info about ec2 instance
- userdata: simply bootstrap scripts
- networking
- ENI: Elastic Network Interface [default]
- day to day networking
- EN: Enhanced Networking [10g - 100g]
- single root IO virtualization — high performance
- EFA: Elastic Fabric Adapter
- accelerates high performance computing — high performance for ML
- placement groups
- cluster: in same availability zone
- spread: separate from each other
- such as db instance 1 & 2
- not on the same hardware
- partition: multiple ec2 instances
- different power sources
- vCenter
- VMWare
- aws outposts
- use aws servers on-premise(locally)
- outposts rack
- 42u - 96u
- outposts servers
- 1u - 2u
- process
- order
- install
- launch
- build
- exercies
- policy ⇒ role ⇒ instance profile ⇒ ec2
Last update: 2024-04-04