Introduction To AWS (Amazon Web Services)
Introduction To AWS (Amazon Web Services)
Overview:
AWS is a comprehensive, evolving cloud computing platform provided by Amazon. It offers a wide range of services for computing power,
storage, networking, databases, analytics, machine learning, and more.
Key Benefits:
Regions: Physical locations around the world (e.g., US East, Europe, Asia).
Availability Zones: Data centers within a region that are isolated to prevent single-point failures.
Edge Locations: AWS locations used for content delivery, typically using Amazon CloudFront.
2. Compute Services
Amazon EC2 (Elastic Compute Cloud)
Purpose: Provides resizable compute capacity in the cloud.
Instances: Virtual servers (e.g., t2.micro, m5.large) with different specs for workloads.
Types
:
On-demand Instances: Pay for compute capacity by the hour.
Reserved Instances: Commit to usage for 1-3 years, offering cost savings.
Spot Instances: Purchase unused EC2 capacity at a discount.
Dedicated Hosts: Physical servers dedicated to you.
Key Features:
AWS Lambda
Purpose: Run code in response to events without provisioning servers.
Use Cases: Event-driven applications, real-time file processing, backend logic for mobile apps.
Pricing: Based on the number of requests and duration of code execution.
3. Storage Services
Amazon S3 (Simple Storage Service)
Purpose: Scalable object storage for a variety of data.
Features
:
Buckets: Containers for storing data.
Object Lifecycle Management: Automatically transition or delete objects.
Versioning: Track and retrieve multiple versions of an object.
4. Networking Services
5. Database Services
Amazon DynamoDB
Purpose: Fully managed NoSQL database.
Key Features
:
Provisioned & On-Demand Capacity: Automatically scale to handle any amount of traffic.
Global Tables: Multi-region, fully replicated tables for fast, low-latency access.
Amazon Aurora
Purpose: High-performance managed relational database compatible with MySQL and PostgreSQL.
Key Features
:
Performance: 5 times faster than MySQL.
Scalability: Automatically scales in storage, up to 64TB.
Amazon CloudWatch
Purpose: Monitoring and observability service for AWS resources and applications.
Key Features
:
Metrics: Track resource utilization and performance.
Logs: Collect and monitor logs from EC2, Lambda, and other services.
Alarms: Set up automated alerts for specific thresholds.
AWS CloudTrail
Purpose: Logs AWS API calls for security analysis, auditing, and compliance.
Key Features: Capture detailed activity on your AWS account.
AWS X-Ray
Purpose: Trace requests as they travel through your application to diagnose errors and performance bottlenecks.
8. AWS Architecting Best Practices
Design for Failure: Assume components will fail and design accordingly with redundancy, failover, and backups.
Use Auto Scaling: Automatically adjust compute resources to meet demand, reducing costs and maintaining performance.
Implement Least Privilege: Ensure IAM roles and policies enforce the least privilege principle.
Monitor Everything: Use CloudWatch, CloudTrail, and X-Ray to gain insights into system performance and security.
Decouple Components: Use AWS services like SQS, SNS, and Lambda to build loosely coupled, scalable applications.
These notes cover the core AWS services and foundational concepts you'll need to know. For practical experience, it's important to dive into the
AWS Management Console and perform hands-on exercises. You can also use the AWS free tier to experiment with services like EC2, S3, and
Lambda.
4o mini