万本电子书0元读

万本电子书0元读

顶部广告

Expert AWS Development电子书

售       价:¥

45人正在读 | 0人评论 9.8

作       者:Atul V. Mistry

出  版  社:Packt Publishing

出版时间:2018-03-29

字       数:40.8万

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

温馨提示:此类商品不支持退换货,不支持下载打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Key concepts, sample applications, best practices, and troubleshooting tips to build highly scalable applications in AWS. About This Book ? Design highly available, cost efficient, fault tolerant, and scalable distributed systems ? A practical guide that will help you build, deploy, and manage applications with ease. ? Develop effective solutions with AWS SDK and Lambda Who This Book Is For This book targets developers who would like to build and manage web and mobile applications and services on the AWS platform. If you are an architect you will be able to take a deep dive and use examples that can be readily applied to real world scenarios. Some prior programming experience is assumed along with familiarity of cloud computing. What You Will Learn ? Learn how to get up and running with AWS Developer Tools. ? Integrate the four major phases in the Release Processes. Source, Build, Test and Production. ? Learn how to integrate Continuous Integration, Continuous Delivery, and Continuous Deployment in AWS. ? Make secure, scalable and fault tolerant applications. ? Understand different architectures and deploy complex architectures within minutes In Detail Continuous deployment and Agile methodology have enabled huge advances in modern applications. This book will enable the reader to make use of this rapidly evolving technology to build highly scalable applications within AWS using different architectures. You will begin with installation of AWS SDK and you will get hands-on experience on creating an application using AWS Management Console and AWS Command Line Interface (CLI). Next you will be integrating Applications with AWS services such as DynamoDB, Amazon Kinesis, AWS Lambda, Amazon SQS and Amazon SWF Following this you will get well versed with CI/CD workflow and work with four major phases in Release processes – Source, Build, Test and Production. Next you will learn to apply AWS developer tools in your Continuous Integration (CI) and Continuous Deployment (CD) WorkFlow. Later you will learn about User Authentication using Amazon Cognito and also how you can evaluate the best architecture as per your infrastructure costs. You will learn about Amazon EC2 service and deploy an app using Amazon EC2.You will also get well versed with container service which is Amazon EC2 Container Service (Amazon ECS) and you will learn to deploy an app using Amazon ECS. Along with EC2 and ECS, you will also deploying a practical real-world example of a CI/CD application with the Serverless Application Framework which is known as AWS Lambda. Finally you will learn how to build, develop and deploy the Application using AWS Developer tools like AWS CodeCommit, AWS CodeBuild, AWS CodeDeploy and AWS CodePipeline as per project needs. Also you can develop and deploy applications within minutes using AWS CodeStar from wizard. By the end of this book, the reader will effectively build, deploy, and manage applications on AWS along with scaling and securing applications with best practices and troubleshooting tips. Style and approach This book covers follows an approach where you will learn the key concepts followed by a real world example and some tips and tricks to make building and deploying easier
目录展开

Title Page

Copyright and Credits

Expert AWS Development

Packt Upsell

Why subscribe?

PacktPub.com

Contributors

About the author

About the reviewer

Packt is searching for authors like you

Preface

Who this book is for

What this book covers

To get the most out of this book

Download the example code files

Download the color images

Conventions used

Get in touch

Reviews

AWS Tools and SDKs

Brief introduction to AWS tools and SDKs

AWS SDK for Java

AWS SDK for Java using Apache Maven

Configuring an SDK as a Maven dependency

AWS SDK for Java using Gradle

AWS SDK for Java using Eclipse IDE

AWS SDK for Node.js

AWS SDKs for IoT devices

AWS SDKs for mobile devices

AWS Mobile SDK for Android

AWS Mobile SDK setup for Android

Configuring AWS Mobile SDK for Android

Using Amazon Cognito to set AWS credentials

Summary

Integrating Applications with AWS Services

Amazon DynamoDB

Integrating DynamoDB into an application

Low-level interface

Document interface

Object persistence (high-level) interface

DynamoDB low-level API

Troubleshooting in Amazon DynamoDB

Amazon Kinesis

Amazon Kinesis streams

Troubleshooting tips for Kinesis streams

Amazon Kinesis Firehose

Troubleshooting tips for Kinesis Firehose

Amazon SQS

Benefits and features of Amazon SQS

Troubleshooting in Amazon SQS

Amazon SWF

AWS SWF components

Amazon SWF examples

AWS SDK for Java using Apache Maven

Workflow implementations

Building and running a project

Troubleshooting Amazon SWF

Unknown resource fault

Non-deterministic workflows

Versioning problems

Troubleshooting and debugging a workflow execution

Lost tasks

Summary

Continuous Integration and Continuous Deployment Workflow

An overview of DevOps

The goal of DevOps

Reasons for integrating DevOps in your process

The benefits of DevOps

Continuous Integration – maintaining code repository

Continuous Integration best practices

Continuous Delivery – automating build and self-testing

Continuous Delivery benefits

Continuous Deployment – automating production deployment

How they work together

The benefits of Continuous Deployment

Tools used for DevOps processes

Source Code Management

GIT

Bitbucket

Subversion (SVN)

Build Automation tool

Maven

Ant

Gradle

Test automation

Selenium

JUnit

Cucumber

Continuous Integration

Jenkins

Bamboo

Hudson

Configuration Management

Puppet

Chef

Ansible

Continuous Monitoring

Nagios

Ganglia

Sensu

Virtual Infrastructure

CI/CD on AWS

Summary

CI/CD in AWS Part 1 – CodeCommit, CodeBuild, and Testing

A brief overview of AWS for DevOps

AWS CodeCommit – maintaining code repository

Prerequisites of AWS CodeCommit

AWS CodeCommit setup using Git credentials

AWS CodeCommit setup using other methods

Getting started with AWS CodeCommit

AWS CodeBuild – automating the build

AWS CodeBuild benefits

AWS CodeBuild features

Creating AWS CodeBuild project using AWS Management Console

List of build project names

Viewing the build project's details

Updating the build project's details

Deleting the build project

Summary

CI/CD in AWS Part 2 – CodeDeploy, CodePipeline, and CodeStar

AWS CodeDeploy

AWS CodeDeploy benefits

Compute platforms and deployment options for AWS CodeDeploy

Compute platforms

Deployment options

AWS CodeDeploy – sample application deployment on a Windows Server

Step 1 – prerequisite configurations for AWS CodeDeploy

Step 2 – launch a Windows Server Amazon EC2 instance

Step 3 – configure source content to deploy to the EC2 instance

Step 4 – upload application to Amazon S3

Provision of S3 bucket with IAM user permission

Preparation and bundling of the application's file and pushing to the S3 bucket

Step 5 – deploy application

To deploy and monitor the application from AWS CLI

To deploy and monitor the application from AWS Management Console

Step 6 – update and redeploy application

Step 7 – clean up the application and related resources

AWS CodePipeline

AWS CodePipeline benefits

AWS CodePipeline features

Creating an AWS CodePipeline from the console

Creating an AWS CodePipeline from AWS CLI

JSON file creation

Execution of the create-pipeline command

AWS CodeStar

Creating a project in AWS CodeStar

AWS X-Ray

AWS X-Ray benefits

Key features of AWS X-Ray

Creating an AWS X-Ray example from the console

Summary

User Authentication with AWS Cognito

Amazon Cognito benefits

Amazon Cognito features

Amazon Cognito User Pools

Getting started with Amazon Cognito User Pools

Amazon Cognito User Pool creation from the console

Amazon Cognito example for Android with mobile SDK

Amazon Cognito Federated Identities

Creating a new Identity Pool from the console

Amazon Cognito Sync

Summary

Evaluating the Best Architecture

The comparison of traditional web hosting versus web hosting on the cloud using AWS

Traditional web hosting

Challenges with traditional hosting

Cloud hosting

The AWS solution for common web hosting

AWS Well-Architected framework

Amazon EC2 instance and Elastic Load Balancer

Benefits and drawbacks of Amazon EC2

Elastic Load Balancing

Docker with the Amazon EC2 Container Service (Amazon ECS)

Use case of Docker

Containers

Amazon ECS

Serverless architecture with Lambda

Use cases for different architectures

Controlling and optimizing costs

Summary

Traditional Web Hosting – Amazon EC2 and Elastic Load Balancing

Amazon EC2 best practices

Troubleshooting instances

Instance terminates immediately

Errors when connected to an instance

Troubleshooting stopping your instance

Troubleshooting terminating (shutting down) your instance

Troubleshooting instance recovery failures

Troubleshooting instances with failed status checks

Troubleshooting instance capacity

Getting console output and rebooting instances

My instance is booting from the wrong volume

Troubleshooting Windows instances

Elastic Load Balancing, auto scaling, and fault tolerant

Features of ELB

Benefits of Application Load Balancer

Benefits of Network Load Balancer

Benefits of Classic Load Balancer

Auto scaling and fault tolerance

Fault tolerance in AWS for Amazon EC2

Monitoring and optimizing the cost of the EC2 infrastructure

Cost efficient resources

Supply-demand matching

Know your expenses

Optimization over time

Continuous Integration and Continuous Deployment workflow

Summary

Amazon EC2 Container Service

Docker

Container instances

Basic concepts of a container instance

Life cycle of a container instance

Checking the instance role for the account

AMIs for a container instance

Update notification subscribing to Amazon ECS–optimized AMI

Launching an Amazon ECS container instance

Bootstrapping container instances with Amazon EC2 user data

Connecting your container instance

Container instances with CloudWatch Logs

Container instance draining

Remotely managing your container instance

Deregistering your container instance

Amazon ECS clusters

Cluster concepts

Creating a cluster

Scaling a cluster

Deleting a cluster

Scheduling tasks

Service scheduler

Manually running tasks

Running tasks on a cron-like schedule

Custom schedulers

Task life cycle

Task retirement

Windows containers (beta)

Windows container concepts

A web application with Windows containers

Create a Windows cluster

Launch a Windows container instance into the cluster

Register a task definition for Windows

Create a service with the task definition

View the service

Monitoring and optimizing the cost of the infrastructure

Continuous Integration (CI) and Continuous Deployment (CD) Workflow

Step 1 – addding required files source repository

Step 2 – creating a Continuous Deployment pipeline

Step 3 – adding Amazon ECR permissions to the AWS CodeBuild role

Step 4 – testing your pipeline

Summary

Amazon Lambda – AWS Serverless Architecture

Microservices architecture

Microservice characteristics

Lambda and Lambda@Edge advanced topics and best practices

Environment variables

Setting up

Naming convention rules for environment variables

Environment variables and function versioning

Environment variable encryption

Error scenarios

Dead letter queues (DLQ)

Best practices for working with AWS Lambda functions

Function code

Function configuration

Alarming and metrics

Stream event invokes

Async invokes

Lambda VPC

Lambda@Edge

Lambda@Edge benefits

AWS Serverless Application Model (SAM)

Deploying with AWS SAM and AWS CloudFormation

Packaging and deployment

Packaging

Deployment

Introducing the Serverless Application Framework

What makes an application serverless?

Serverless applications benefits

The Serverless Framework

Serverless Framework benefits

Monitoring and optimizing the cost of the infrastructure

How does Lambda pricing work?

How do you keep AWS Lambda costs down?

CI and CD workflow

Step 1 – setting up the repository

Step 2 – creating the pipeline

Step 3 – modifying the generated policy

Step 4 – completing your deployment stage

Summary

Other Books You May Enjoy

Leave a review - let other readers know what you think

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

发表评论

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

买过这本书的人还买过

读了这本书的人还在读

回顶部