万本电子书0元读

万本电子书0元读

顶部广告

Amazon EC2 Cookbook电子书

售       价:¥

4人正在读 | 0人评论 9.8

作       者:Sekhar Reddy

出  版  社:Packt Publishing

出版时间:2015-11-27

字       数:103.3万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Over 40 hands-on recipes to develop and deploy real-world applications using Amazon EC2 About This Book Design and build applications using Amazon EC2 and a range of supporting AWS tools Find highly effective solutions to your AWS Cloud-based application development, deployment, and infrastructural issues A comprehensive set of recipes to implement your product’s functional and non-functional requirements Who This Book Is For This book is targeted at Cloud-based developers who have prior exposure to AWS concepts and features. Some experience in building small applications and creating some proof-of-concept applications is required. What You Will Learn Select and configure the right EC2 instances Create, configure, and secure a Virtual Private Cloud Create an AWS CloudFormation template Use AWS Identity and Access Management to secure access to EC2 instances Configure auto-scaling groups using CloudWatch Choose and use the right data service such as SimpleDB and DynamoDB for your cloud applications Access key AWS services using client tools and AWS SDKs Deploy AWS applications using Docker containers In Detail Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides flexible and resizable compute capacity in the cloud. The main purpose of Amazon EC2 is to make web-scale cloud computing easier for the developers. It offers developers and companies the raw building blocks like load balancers, object stores and virtual machines running on general hardware (that is, Amazon runs a multitude of hardware components but presents them as a generic utility to its users) with accessible APIs in order to create scalable software products This book covers designing, developing, and deploying scalable, highly available, and secure applications on the AWS platform. By following the steps in the recipes, you will be able to effectively and systematically resolve issues related to development, deployment, and infrastructure for enterprise-grade cloud applications or products. This book starts with helping you choose and configure the right EC2 instances to meet your application-specific requirements. The book then moves on to creating a CloudFormation template and will teach you how to work with stacks. You will then be introduced to using IAM services to configure users, groups, roles, and multi-factor authentication. You will also learn how to connect AD to AWS IAM. Next, you will be using AWS data services and accessing other AWS services including Route 53, Amazon S3, and AWS SES (Amazon Simple Email Service). Finally, you will be deploying AWS applications using Docker containers. Style and approach This book contains a rich set of recipes that cover not only the full spectrum of real-world cloud application development using Amazon EC2, but also the services and security of the applications. The book contains easy-to-follow recipes with step-by-step instructions to leverage EC2 within your applications.
目录展开

Amazon EC2 Cookbook

Table of Contents

Amazon EC2 Cookbook

Credits

About the Authors

About the Reviewer

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why subscribe?

Free access for Packt account holders

Instant updates on new Packt books

Preface

What this book covers

What you need for this book

Who this book is for

Sections

Getting ready

How to do it…

How it works…

There's more…

See also

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

1. Selecting and Configuring Amazon EC2 Instances

Introduction

Choosing the right AWS EC2 instance types

How to do it…

Preparing AWS CLI tools

How to do it…

Getting access key ID and secret access key

Installing AWS CLI using pip in Linux

Installing AWS CLI using pip in Windows/Mac

Launching EC2 instances using EC2-Classic and EC2-VPC

Getting started…

How to do it…

Launching the EC2 instance in EC2-Classic

Launching the EC2 instance in VPC

See also

Allocating Elastic IP addresses

How to do it…

See also

Creating an instance with multiple NIC cards and a static private IP address

How to do it…

Creating a network interface

Attaching the network interface to an instance

Associating the EIP to the ENI

See also

Selecting the right storage for your EC2 instance

How to do it…

Creating an EBS volume

Attaching the volume

Creating tags for consistency

How to do it…

Creating tags for one or more AWS resources

Configuring security groups

How to do it…

Creating a security group for EC2-Classic

Creating a security group for EC2-VPC

Adding an inbound rule

Adding an outbound rule

Adding the security group to an instance

Creating an EC2 key pair

How to do it…

Creating a key pair

Grouping EC2 instances using placement groups

How to do it…

Creating a placement group

Placing instances in the placement group

Configuring Elastic Load Balancing

How to do it…

Creating an Internet-facing ELB with listeners

Configuring health checks on ELB

Adding instances to the ELB

Architecting for high availability

How to do it…

Creating instances for AWS Marketplace

How to do it…

Creating an AMI from EC2 instance

Making the AMI public

2. Configuring and Securing a Virtual Private Cloud

Introduction

Creating and configuring VPC

How to do it…

How it works…

Configuring VPC DHCP options

How to do it…

How it works…

Configuring networking connections between two VPCs (VPC peering)

How to do it…

How it works…

Connecting on-premise network to VPC using VPN

How to do it…

How it works…

3. Managing AWS Resources Using AWS CloudFormation

Introduction

Creating CloudFormation templates

How to do it…

How it works…

There's more…

Creating CloudFormation templates from existing AWS resources

How to do it…

How it works…

Deploying applications on EC2 instances

How to do it…

How it works…

Updating a stack

How to do it…

How it works…

4. Securing Access to Amazon EC2 Instances

Introduction

Creating IAM users

How to do it…

How it works…

Creating IAM groups and assigning group-level permissions

How to do it…

How it works…

Creating IAM roles

How to do it…

How it works…

There's more…

Connecting on-premise AD to AWS IAM

How to do it…

How it works…

Configuring AWS multifactor authentication

How to do it…

How it works…

There's more…

5. Monitoring Amazon EC2 Instances

Introduction

Collecting EC2 metrics using AWS CloudWatch

How to do it…

How it works…

Collecting custom metrics from EC2 instances

How to do it…

How it works…

There's more…

Monitoring costs using CloudWatch

How to do it…

Enabling the monitoring of your estimated charges

How it works…

Sending an e-mail based on a CloudWatch alarm

How to do it…

How it works…

Using CloudWatch Logs

How to do it…

How it works…

There's more…

6. Using AWS Data Services

Introduction

Using Amazon SimpleDB services from a Java program

How to do it…

How it works…

There's more…

Using Amazon DynamoDB

How to do it…

How it works…

There's more…

Using Amazon ElastiCache

How to do it…

Working with ElasticCache

How it works…

There's more…

Using Amazon RDS

How to do it…

How it works…

7. Accessing Other AWS Services

Introduction

Configuring Route 53

How to do it…

How it works…

There's more…

Accessing AWS S3 from applications

How to do it…

How it works…

There's more…

Accessing AWS SES from applications

How to do it…

How it works…

There's more…

Accessing AWS SNS from applications

How to do it…

How it works…

There's more…

Accessing AWS SQS from applications

How to do it…

How it works…

There's more…

8. Deploying AWS Applications

Introduction

Using Docker containers for AWS deployments

How to do it…

Installing Docker

Creating a Dockerfile

Building an image from the Dockerfile

Creating Docker container

Checking the container status

How it works…

There's more…

Using Chef for AWS deployments

How to do it…

Installing the knife-ec2 plugin

Configuring Chef Provisioner node with knife-ec2 plugin

Configuring Chef Provisioner node

Creating cookbooks and recipes

Starting Chef client from the provisioning node

How it works…

There's more…

Using Puppet for AWS deployments

How to do it…

Installing Puppet AWS module in Puppet master

Launching an EC2 instance with Puppet agent

How it works…

There's more…

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部