Please enable JavaScript.
Coggle requires JavaScript to display documents.
AWS SAA-02, EC2, Cloudwatch - Coggle Diagram
AWS SAA-02
-
-
API Gateway
-
-
-
-
-
-
-
Throttle Setting
-
-
If the caller sends 10,000 requests in the first millisecond, API Gateway serves 5,000 of those requests and throttles the rest in the one-second period
-
-
Database
Relation Database(RDS)
Two feature
Multi-AZ- for Disaster Recovery, primary and standby by synchronize
Read Replica – For Performance, for scalability
Including SQL server , Oracle, MySQL server, PostgreSQL, Aurora, MariaDB ( SOPAMM)
-
-
-
-
-
-
Multi-AZ
-
SQL Server, Oracle ,MySQL Server ,PostgreSQL, MariaDB(SOPMM)
Multi-AZ deployments utilize synchronous replication,
Read Replicas
Increase performance, for scalability
MariaDB, Microsoft SQL Server, MySQL, Oracle, and PostgreSQL(SOPMM)
-
-
-
-
-
Encryption At Rest
Automated backup, read replicas, and snapshots are encrypted
supported for MySQL, Oracle, SQL Server, PostgreSQL ,MariaDB & Aurora (AOPMM)
-
Oracle , SQL server have limit to number per instance
DynamoDB
Basic
-
-
-
-
-
-
Can enable Auto Scaling, can automatically increase its write capacity
-
-
-
-
-
-
-
Redshift
-
-
-
Backup
-
-
Redshift always attempts to maintain at least three copies of your data (the original and replica on the compute nodes and a backup in Amazon S3)
-
-
Priced
-
-
Data transfer(only within a VPC, not outside it )
-
-
-
Aurora
Basic
Start with 10G, Scale 10G ~ 64T(storage Autoscaling)
2 copies of your data is contained in each availability zone, with minimum of 3 availability zones. 6 copies of your data
-
a much lower price point,
-
-
-
-
-
Elasticache
Memcached
If you need to scale horizontally, use Memcached
-
-
-
-
EMR
industry-leading cloud big data for processing vast amounts of data using open-source tool such as Apache, Spark, Apache Hive,
Consists of a Master node, a core node and (optionally) a task node
-
-
can configure replication to S3 on five-minute intervals for all log data from the master node ; however ,this can only be configured when creating the cluster for the first time.
IAM
Feature
-
-
-
Identity Federation(including Activate Directory, Facebook…)
-
-
-
-
-
-
Access Key ID & Secret Access Keys to login in to the console. Only can use to access AWS via the APIs and CLI.
Consist
-
-
-
Polices
-
Effect/Action/Resource
Effect either Allow or Deny ,Deny會取代Allow when 同時出現時
-
-
-
-
-
-
CloudFront
-
Key terminology
-
Origin
This can be either an S3 bucket, an EC2 instance, an Elastic Load Balancer or Route53.
-
-
While the first 1000 invalidation paths per month are free, additional invalidation paths are $0.005 per request
-
-
-
-
Storage Gateway
File Gateway(NFS)
For flat files, stored directly on S3
-
-
Kinesis
Amazon kinesis is a platform on AWS to send your streaming data to.
Kinesis makes it easy to load and analyze streaming data.
-
easy to collect process, and analyze real-time, streaming data
-
Athena vs Macie
-
Macie
Machine Learning and NLP(Natural Language Processing) to discover, classify and protect sensitive data stored in S3
-
Web Identity Federation
lets you give your users access to AWS resources after they have successfully authenticated with a web-based identity provider like Amazon, Facebook, or Google
Cognito
-
User pool
負責user account or password, 例如 email address, password…
-
-
-
-
-
-
EC2
EC2 Hibernate
-
-
-
-
Instance families include(CMR) C3,C4,C5,M4,M5,R3,R4,R5
Available for Windows, Amazon Linux 2AMI, and Ubuntu
-
-
-
-
Hibernate to start, Only Public IPv4 is allocated with new IP while Private IPv4 and any IPv6 are retained
Security group
-
-
-
-
-
Security groups are STATEFUL,Do not have to configure outbound traffic
-
Can specify only allowed rules, but not deny rules. (default deny everything)
-
Placement Groups
-
Three type
Cluster
-
-
-
-
-
within a rack, if the rack fails, all instance fail at the same time
Spread
-
-
-
This strategy is typically used by large distributed and replicated workloads, such as Hadoop, Cassandra, and Kafka
-
-
partition
can be used to deploy large distributed and replicated workloads, such as HDFS, HBase, and Cassandra, across distinct racks
-
-
-
You can move or remove an instance using the AWS CLI or on AWS SDK, you can’t do it via console yet
-
Volume & Snapshot
101
刪除instance時會連同root volume一起刪掉,但是additional部分就不會
-
Snapshot are incremental - mean that only the blocks that have changed since your last snapshot are moved to S3
If this is first snapshot, it may take some time to create
To create a snapshot for Amazon EBS volumes that server as root device, You should stop the instance before taking the snapshot.
-
-
You can change EBS volume sizes on the fly, including changing the size and storage type
-
To migrate EBS
To move an EC2 volume from one AZ to another, take a snapshot of it, create an AMI from the snapshot and then use the AMI to launch the EC2 instance in a new AZ.
To move an EC2 volume from one region to another, take a snapshot of it, create an AMI from the snapshot and then copy the AMI from one region to other, then launch EC2 instance
Security
-
-
You can share snapshots, but only if they are unencrypted (因為encrypted key tied to your AWS account)
-
-
EC2 Pricing Model Option
-
-
Spot Pricing
-
Noted
If the Spot instance is terminated by AWS EC2, you will not be charged for a partial hour of usage
If you terminate the instance yourself, you will be charged for any hour in which the instance ran.
-
如果bid price>spot price,費用就會拿spot price*台數算,但後來如果bid price < spot price的話就會終止
-
-
-
-
ENI vs ENA vs EFA
-
EN
Enhanced Networking
Use single root I/O vituralization (SR-IOV) to provide high-performance lower CPU utilization on supported instance type
-
EFA
Elastic Fabric Adapter
network device that you attach to
your EC2 instance to accelerate high performance computing HPC and machine learning applications.
-
-
-
EFS & FSx
EFS
-
-
-
-
-
-
-
Support encryption data at rest, It can only be done during EFS creation
Performance Mode
-
Max I/O performance mode
-
uch as big data analysis, media processing, and genomic analysis
-
-
-
-
101
On an EBS-backed instance, the default action is for the root EBS volume to be deleted when the instance is terminated
-
-
-
Cloudwatch
CloudTrail
-
-
-
By default, CloudTrail event log files are encrypted using Amazon server-side encryption (SSE)
Monitoring service to monitor your AWS resource, monitory performance.
-
-
-
-
-
-
-