O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

AWS Administration – The Definitive Guide

Book Description

Learn to design, build, and manage your infrastructure on the most popular of all the Cloud platforms—Amazon Web Services

About This Book

  • Learn how to leverage various Amazon Web Services (AWS) components and services to build a secure, reliable, and robust environment to host your applications on

  • Deep dive into the core AWS service offerings with hands-on tutorials, real-world use case scenarios, and best practices

  • A self-paced, systematic, and step-by-step guide to learning and implementing AWS in your own environment

Who This Book Is For

This book is for those who want to learn and leverage AWS. Although no prior experience with AWS is required, it is recommended that you have some hands-on experience of Linux, Web Services, and basic networking.

What You Will Learn

  • A brief introduction to Cloud Computing and AWS accompanied by steps to sign up for your first AWS account

  • Create and manage users, groups, and permissions using AWS Identity and Access Management services

  • Get started with deploying and accessing EC2 instances, working with EBS Volumes and Snapshots

  • Customize and create your very own Amazon Machine Image

  • Design and deploy your instances on a highly secured, network isolated environment using Amazon VPC

  • Effectively monitor your AWS environment using specialized alarms, custom monitoring metrics, and much more

  • Explore the various benefits of Database-as-a-Service offerings and leverage them using Amazon RDS and Amazon DynamoDB

  • Take an in-depth look at what’s new with AWS, including EC2 Container Service and Elastic File System

In Detail

AWS is at the forefront of Cloud Computing today. Many businesses are moving away from traditional datacenters and toward AWS because of its reliability, vast service offerings, lower costs, and high rate of innovation. Because of its versatility and flexible design, AWS can be used to accomplish a variety of simple and complicated tasks such as hosting multitier websites, running large scale parallel processing, content delivery, petabyte storage and archival, and lots more.

Whether you are a seasoned sysadmin or a rookie, this book will provide you with all the necessary skills to design, deploy, and manage your applications on the AWS cloud platform. The book guides you through the core AWS services such as IAM, EC2, VPC, RDS, and S3 using a simple real world application hosting example that you can relate to. Each chapter is designed to provide you with the most information possible about a particular AWS service coupled with easy to follow hands-on steps, best practices, tips, and recommendations.

By the end of the book, you will be able to create a highly secure, fault tolerant, and scalable environment for your applications to run on.

Style and approach

This in-depth and insightful guide is filled with easy-to-follow examples, real-world use cases, best practices, and recommendations that will help you design and leverage AWS.

Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the code file.

Table of Contents

  1. AWS Administration – The Definitive Guide
    1. Table of Contents
    2. AWS Administration – The Definitive Guide
    3. Credits
    4. About the Author
    5. About the Reviewer
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers, and more
        1. Why subscribe?
        2. Free access for Packt account holders
        3. Instant updates on new Packt books
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    8. 1. Introducing Amazon Web Services
      1. What is cloud computing?
        1. Cloud computing features and benefits
        2. Cloud computing use cases
      2. Introducing Amazon Web Services
        1. AWS architecture and components
          1. Regions and availability zones
          2. AWS platform overview
            1. Compute
            2. Storage
            3. Databases
            4. Networking
            5. Distributed computing and analytics
            6. Content distribution and delivery
            7. Workflow and messaging
            8. Monitoring
            9. Identity and access management
        2. Getting started with AWS
        3. Introducing the AWS Management Console
        4. Getting started with AWS CLI
      3. Plan of attack!
      4. Summary
    9. 2. Security and Access Management
      1. Security and clouds
        1. Is AWS really secure
        2. Shared responsibility model
      2. Identity and Access Management
        1. Business use case scenario
        2. Getting started with the IAM Console
          1. Creating users and groups
          2. Understanding permissions and policies
          3. Creating and assigning policies
        3. Managing access and security using the AWS CLI
      3. Planning your next steps
      4. Recommendations and best practices
      5. Summary
    10. 3. Images and Instances
      1. Introducing EC2!
        1. EC2 use cases
      2. Introducing images and instances
        1. Understanding images
          1. Amazon Linux AMI
        2. Understanding instances
        3. EC2 instance pricing options
          1. On-demand instances
          2. Reserved instances
          3. Spot instances
        4. Working with instances
          1. Stage 1 – choose AMI
          2. Stage 2 – choose an instance type
          3. Stage 3 – configure instance details
          4. Stage 4 – add storage
          5. Stage 5 – tag instances
          6. Stage 6 – configure security groups
          7. Stage 7 – review instance launch
        5. Connecting to your instance
        6. Configuring your instances
        7. Launching instances using the AWS CLI
          1. Stage 1 – create a key pair
          2. Stage 2 – create a security group
          3. Stage 3 – add rules to your security group
          4. Stage 4 – launch the instance
      3. Cleaning up!
      4. Planning your next steps
      5. Recommendations and best practices
      6. Summary
    11. 4. Security, Storage, Networking, and Lots More!
      1. An overview of security groups
      2. Understanding EC2 networking
        1. Determining your instances IP addresses
        2. Working with Elastic IP addresses
          1. Create an Elastic IP address
          2. Allocating Elastic IP addresses
          3. Disassociating and releasing an Elastic IP address
      3. Understanding EBS volumes
        1. EBS volume types
        2. Getting started with EBS Volumes
          1. Creating EBS volumes
          2. Attaching EBS volumes
          3. Accessing volumes from an instance
          4. Detaching EBS volumes
        3. Managing EBS volumes using the AWS CLI
        4. Backing up volumes using EBS snapshots
      4. Planning your next steps
      5. Recommendations and best practices
      6. Summary
    12. 5. Building Your Own Private Clouds Using Amazon VPC
      1. An overview of Amazon VPC
        1. VPC concepts and terminologies
          1. Subnets
          2. Security groups and network ACLs
          3. Routing tables
          4. VPC endpoints
          5. Internet Gateways
          6. NAT instances
          7. DNS and DHCP Option Sets
        2. VPC limits and costs
      2. Working with VPCs
        1. VPC deployment scenarios
        2. Getting started with the VPC wizard
          1. Viewing VPCs
          2. Listing out subnets
          3. Working with route tables
          4. Listing Internet Gateways
          5. Working with security groups and Network ACLs
        3. Launching instances in your VPC
          1. Creating the web servers
          2. Creating the database servers
      3. Planning next steps
      4. Best practices and recommendations
      5. Summary
    13. 6. Monitoring Your AWS Infrastructure
      1. An overview of Amazon CloudWatch
        1. Concepts and terminologies
          1. Metrics
          2. Namespaces
          3. Dimensions
          4. Time stamps and periods
          5. Units and statistics
          6. Alarms
        2. CloudWatch limits and costs
      2. Getting started with CloudWatch
        1. Monitoring your account's estimate charges using CloudWatch
        2. Monitoring your instance's CPU Utilization using CloudWatch
        3. Monitoring your instance's memory and disk utilization using CloudWatch Scripts
          1. Creating CloudWatch access roles
          2. Installing the CloudWatch monitoring scripts
          3. Viewing the custom metrics from CloudWatch
        4. Monitoring logs using CloudWatch Logs
          1. CloudWatch Log concepts and terminologies
          2. Getting Started with CloudWatch Logs
          3. Viewing the logs
          4. Creating metric filters and alarms
      3. Planning your next steps
      4. Recommendations and best practices
      5. Summary
    14. 7. Manage Your Applications with Auto Scaling and Elastic Load Balancing
      1. An overview of Auto Scaling
        1. Auto scaling components
          1. Auto scaling groups
          2. Launch configurations
          3. Scaling plans
      2. Introducing the Elastic Load Balancer
        1. Creating your first Elastic Load Balancer
          1. Step 1 – Defining the Load Balancer
          2. Step 2 – Assign security groups
          3. Step 3 – configure security settings
          4. Step 4 – Configure Health Check
          5. Step 5 – Add EC2 instances
          6. Step 6 – Add tags
          7. Step 7 – Review and Create
      3. Getting started with Auto Scaling
        1. Creating the Launch Configuration
          1. Step 1 – Choose AMI
          2. Step 2 – Choose Instance type
          3. Step 3 – Configure details
          4. Step 4 – Add storage
          5. Step 5 – Configure Security Group
          6. Step 6 – Review
        2. Creating the Auto Scaling Group
          1. Step 1 – Configure Auto Scaling group details
          2. Step 2 – Configure scaling policies
          3. Step 3 – Configure notifications
          4. Step 4 – Configure tags
          5. Step 5 – Review
        3. Verifying and testing Auto Scaling
        4. Suspend, resume and delete Auto Scaling
      4. Planning your next steps
      5. Recommendations and best practices
      6. Summary
    15. 8. Database-as-a-Service Using Amazon RDS
      1. An overview of Amazon RDS
        1. RDS instance types
        2. Multi-AZ deployments and Read Replicas
      2. Working with Amazon RDS
        1. Getting started with MySQL on Amazon RDS
          1. Creating a MySQL DB instance
            1. Step 1 – Select Engine
            2. Step 2 – Production?
            3. Step 3: Specify DB Details
            4. Step 4: Configure Advanced Settings
          2. Connecting remotely to your DB instance
          3. Testing your database
          4. Modifying your DB instances
          5. Backing up DB instances
          6. Creating Read Replicas and promoting them
          7. Logging and monitoring your DB instance
          8. Cleaning up your DB instances
      3. Planning your next steps
      4. Recommendations and best practices
      5. Summary
    16. 9. Working with Simple Storage Service
      1. Introducing Amazon S3
      2. Getting started with S3
        1. Creating buckets
        2. Uploading your first object to a bucket
        3. Viewing uploaded objects
        4. Accessing buckets and objects using S3CMD
        5. Managing an object's and bucket's permissions
        6. Using buckets to host your websites
        7. S3 events and notification
        8. Bucket versioning and lifecycle management
        9. Cross-Region Replication
      3. Planning your next steps
      4. Recommendations and best practices
      5. Summary
    17. 10. Extended AWS Services for Your Applications
      1. Introducing Amazon Route53
        1. Working with Route53
        2. Creating hosted zones
        3. Getting started with traffic flow
        4. Configuring health checks
      2. Content delivery using Amazon CloudFront
        1. Getting started with distributions
        2. CloudFront recommendations and best practices
      3. What's new in AWS?
        1. Elastic Container Service
        2. Elastic File System
        3. Database migration made easy with Database Migration Service
        4. Go serverless with AWS Lambda
      4. Resources, recommendations, and best practices
      5. Summary
    18. Index