- Elastic Cloud Compute (EC2) is a service that provides instances. Instance is the same as a computer. Instances can increase/decrease as defined.
- AMI (Amazon Machine Image) = OS + software.
- Simple Storage Service (S3) Collection of buckets, a bucket stores objects. Capabilities:
- Elastic Block Storage (EBS) service: Filesystem for EC2 instances, attached to EC2 instances.
- Relational DB (RDB) service: Solution for DB needs. Provides the following capabilities:
- DB backup
- Redundancy
- In both cases that means taking DB snapshots and allowing changing HW on the fly
- Software patches
- Easy configuration
- Read replicas
- Supported DBs are:MySQL, POsreSQL, SQLServer, MariaDB, Oracle, Amazon Aurora
- Route53 (DNS service) Makes health checks to make sure an address is reachable.
- ElasticBeanstack (EB): Solution for your application needs. Provides:
- DynamoDB: NoSQL document DB service
- Unlimited elastic storage
- No hardware choices
- Pay only for usage
- Read/write by 4KB blocks
- Pricing: provisioned throughput (# of read/writes per sec)+ amount of stored data
- RedShift: data warehouse managed service Cluster of Nodes (VMs), each Node can be different.
*RedShift security:
- VPC protection
- Data warehouse encryption
- No public IP
- RS Node Categories:
- Virtual Private Cloud (VPC) : networking needs service Security groups allow securing a single instance, while VPC allows to secure groups of instances.
- Cloud Watch: monitoring service Monitoring resources/metrics and acting on alerts. Metric + alarm => action Monitor and aggregate logs: one needs top install awslogs agent on EC2 instance. The agent will send relevant entries to CloudWatch.
- CloudFront: solution for CDN (content delivery network) {original content (bucket in S3) --> distribution} => CF URL Configuration options for an entry, e.g. allowed HTTP methods, edge locations, SSL certificate.
- AWS SDK (aws-sdk artifact) SDK operation has a Web Console entry and AWS CLI command Operation examples: Modify CloudWatch, invalidate CloudFront distribution, read/write to RDS
CloudWatch is basically a general purpose time-series metrics repository. CW core concepts are:
- Namespace - an abstract container to store and provide context to data while preventing collision of similar metric names. Look like Unix directory structure. AWS services reside in AWS/ namespace, e.g. AWS/EC2.
- Dimension - <name,value> pair that contains information to help identify a metric. Helpful for describing, filtering and grouping metrics in a namespace.
- Metric - a sample of time-series data identified by the combination of namespace and metric name. Can have up to 10 dimensions. Sampling is every 1-5 minutes.
CW Alarm Actions: