###### tags: `aws` `note` `thu` # AWS考試筆記-02-實用的,但也要背很多 ## 1. 運算 ### a. Server: EC2 - 可使用AMI(Amazon Machine Image), EBS(Elastic Block Store)。 - 通常使用ssh key pair存取 - 方案: - Dedicated Hosts - Dedicated Instances - On-Demand Instances - Reserved Instances - Spot Instances  ### b. Serverless(Container) #### Elastic Container Service - Backend: - Fargate: 無法管理Cluster - EC2: 可以直接管理Cluster #### Lambda - 直接deploy container - 可被事件觸發 #### Beanstalk - 只要提供程式碼就好。 ## 2. 儲存 ### a. Elastic Block Store(EBS): - 可當開機碟 - 可加密(Encryption) - 可快照(Snapshot) - 彈性: - 可調整大小(調大,不能調小) - 可更換種類 - 計價: - General Purpose SSD: 以量計價,速度固定。 - Provisioned IOPS SSD: 以量跟速度計價。 - Magnetic: 以量跟存取次數計價。 ### b. Simple Storage Service(S3): - Classes: - Standard - Intelligent-Tiering - Standard-IA - One Zone-IA - Glacier - Glacier Deep Archive - 計價: - 使用容量 - 跨區的輸出流量 - Lifecycle policies - 可自定義在多種classes之間轉換的規則。 - 支持Encryption。 ### c. Elastic File System(EFS): - 大型NAS,結案。 ## 3. 資料庫 ### a. Manual Auto-Scaling(要自已加Load Balancer) - RDS(SQL) - Redshift(SQL語法,但是自定的資料結構): 為數據份析而生 ### b. Built-in Auto-Scaling - DynamoDB(NoSQL) - Aurora(SQL) ### c. Redshift ## 4. Auto-Scaling(WIP) - CloudWatch偵測EC2狀態 - 條件到了,EC2就 Horizontal Scaling(調整數量,而不是規格) - 然後這些EC2都一起掛在Load Balancer後面。  
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up