Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
AWS System Administration
Preface
Audience
Conventions Used in This Book
Using Code Examples
SafariĀ® Books Online
How to Contact Us
Acknowledgments
1. Setting Up AWS Tools
Preparing Your Tools
Installing the AWS Command Line Interface
Parsing JSON Output with jq
Installing the Earlier AWS Command-Line Tools
2. First Steps with EC2 and CloudFormation
What Is an Instance?
Instance Types
Processing Power
Storage
Networking
Launching Instances
Launching from the Management Console
Launching a new instance of an AMI
Key pairs
Waiting for the instance
Querying information about the instance
Terminating the instance
Launching with Command-Line Tools
Launching from Your Own Programs and Scripts
Introducing CloudFormation
Working with CloudFormation Stacks
Creating the Stack
Updating the Stack
Looking Before You Leap
Deleting the Stack
Which Method Should I Use?
Amazon Machine Images
Building Your Own AMI
Deregistering AMIs
Recap
3. Access Management and Security Groups
Identity and Access Management
Amazon Resource Names
IAM Policies
Referencing resources in IAM policies
Dynamic policies
Limitations of IAM policies
IAM Users and Groups
Organizing users and groups with paths
Multi-factor authentication
IAM Roles
Using IAM Roles from Other AWS Accounts
Using IAM in CloudFormation Stacks
Security Groups
Protecting Instances with SSH Whitelists
Virtual Private Networks and Security Groups
Recap
4. Configuration Management
Why Use Configuration Management?
OpsWorks
Choosing a Configuration Management Package
Puppet on AWS
A Quick Introduction to Puppet
Puppet and CloudFormation
User Data and Tags
Executing Tasks with Fabric
Master-less Puppet
Building AMIs with Packer
An Example Application Stack
Overview of Application Components
The Web Application
Database and Caching
Background Task Processing
Installing the Web Application
Preparing Puppet and CloudFormation
Puppet Files
CloudFormation Files
Creating an RDS Database
RDS: Updating Puppet and CloudFormation
Creating an ElastiCache Node
ElastiCache: Updating Puppet and CloudFormation
Installing Celery with Simple Queueing Service
Celery: Updating Puppet and CloudFormation
Building the AMIs
Creating the Stack with CloudFormation
Recap
6. Auto Scaling and Elastic Load Balancing
What Is Auto Scaling?
Static Auto Scaling Groups
Notifications of Scaling Activities
Scaling Policies
Scaling on CloudWatch Metrics
Elastic Load Balancing
Elastic Load Balancer and Auto Scaling Groups
Recap
7. Deployment Strategies
Instance-Based Deployments
Executing Code on Running Instances with Fabric
Grouping instances through roles
Dynamically finding instances
Updating Instances at Launch Time
AMI-Based Deployments
Deploying AMIs with CloudFormation
Deploying AMIs with the EC2 API
Recap
8. Building Reusable Components
Role-Based AMIs
Mapping Instances to Roles
Patterns for Configuration Management Tools
Modular CloudFormation Stacks
9. Log Management
Central Logging
Logstash Configuration
Creating and configuring a Logstash server
Configuring the Logstash clients
Logging to S3
AWS Service Logs
S3 Life Cycle Management
10. DNS with Route 53
Why Use Route 53?
Failure Is an Option: Using Route 53 to Handle Service Failover
Ramping Up Traffic
Surviving ELB and Application Outages with Route 53
Recap
11. Monitoring
Why Are You Monitoring?
CloudWatch
Auto Scaling and Custom Metrics
Old Tools, New Tricks
12. Backups
Backing Up Static Files from EC2 Instances to S3
Rolling Backups with S3 and Glacier
PostgreSQL and Other Databases
pg_dump
Snapshots and Continuous Archiving
Backing up
Restoring
Off-Site Backups
About the Author
Copyright
← Prev
Back
Next →
← Prev
Back
Next →