Elastic Beanstalk Developer Guide API Version 2010-12-01 Elastic Beanstalk Developer Guide Elastic Beanstalk: Developer Guide Copyright © 2015 Amazon Web Services, Inc. and/or its affiliates. All rights reserved. The following are trademarks of Amazon Web Services, Inc.: Amazon, Amazon Web Services Design, AWS, Amazon CloudFront, AWS CloudTrail, AWS CodeDeploy, Amazon Cognito, Amazon DevPay, DynamoDB, ElastiCache, Amazon EC2, Amazon Elastic Compute Cloud, Amazon Glacier, Amazon Kinesis, Kindle, Kindle Fire, AWS Marketplace Design, Mechanical Turk, Amazon Redshift, Amazon Route 53, Amazon S3, Amazon VPC, and Amazon WorkDocs. In addition, Amazon.com graphics, logos, page headers, button icons, scripts, and service names are trademarks, or trade dress of Amazon in the U.S. and/or other countries. Amazon's trademarks and trade dress may not be used in connection with any product or service that is not Amazon's, in any manner that is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by Amazon. Elastic Beanstalk Developer Guide Table of Contents What Is Elastic Beanstalk and Why Do I Need It?................................................................................ 1 Storage ............................................................................................................................... 2 Pricing................................................................................................................................. 2 Community........................................................................................................................... 2 Where to Go Next.................................................................................................................. 3 Getting Started ............................................................................................................................. 4 Walkthrough ......................................................................................................................... 4 Step 1: Sign up for the Service......................................................................................... 4 Step 2: Create an Application.......................................................................................... 5 Step 3:View Information About Your Environment................................................................ 6 Step 4: Deploy New Version ............................................................................................ 7 Step 5: Change Configuration.......................................................................................... 8 Step 6: Clean Up......................................................................................................... 10 Accessing Elastic Beanstalk .................................................................................................. 11 AWS Management Console........................................................................................... 12 Git Deployment Via Eb.................................................................................................. 12 AWS SDK for Java....................................................................................................... 12 AWS Toolkit for Eclipse................................................................................................. 12 AWS SDK for .NET...................................................................................................... 13 AWS Toolkit for Visual Studio......................................................................................... 13 AWS SDK for Node.js................................................................................................... 13 AWS SDK for PHP....................................................................................................... 13 Boto (AWS SDK for Python) .......................................................................................... 13 AWS SDK for Ruby...................................................................................................... 14 Elastic Beanstalk API ................................................................................................... 14 Endpoints................................................................................................................... 14 Where to Go Next................................................................................................................ 14 How Does Elastic Beanstalk Work?................................................................................................. 15 Components ....................................................................................................................... 15 Application ................................................................................................................. 15 Application Version....................................................................................................... 15 Environment ............................................................................................................... 16 Environment Configuration ............................................................................................ 16 Configuration Template ................................................................................................. 16 Architectural Overview.......................................................................................................... 16 Web Server Environment Tiers....................................................................................... 16 Worker Environment Tiers ............................................................................................. 18 Supported Platforms ............................................................................................................ 19 Docker ....................................................................................................................... 19 Docker - Preconfigured................................................................................................. 22 Java .......................................................................................................................... 27 Windows and .NET ...................................................................................................... 32 Node.js ...................................................................................................................... 33 PHP .......................................................................................................................... 41 Python ....................................................................................................................... 46 Ruby ......................................................................................................................... 50 Design Considerations.......................................................................................................... 58 Scalability................................................................................................................... 58 Security ..................................................................................................................... 58 Persistent Storage ....................................................................................................... 59 Fault Tolerance............................................................................................................ 59 Content Delivery.......................................................................................................... 59 Software Updates and Patching ..................................................................................... 59 Connectivity................................................................................................................ 59 Where to Go Next................................................................................................................ 60 API Version 2010-12-01 iii Elastic Beanstalk Developer Guide Applications from Docker Containers............................................................................................... 61 Single Container Docker Using the Console............................................................................. 62 Single Container Docker Using Eb.......................................................................................... 63 Set Up Eb .................................................................................................................. 64 Configure Elastic Beanstalk Using Eb.............................................................................. 66 Create an Application................................................................................................... 67 Single Container Docker Configurations................................................................................... 68 Dockerfile ................................................................................................................... 68 Dockerrun.aws.json...................................................................................................... 69 Multicontainer Docker Environments ....................................................................................... 71 Multicontainer Docker Platform....................................................................................... 71 Dockerrun.aws.json File................................................................................................ 72 Docker Images............................................................................................................ 72 Container Instance Role ............................................................................................... 73 Amazon ECS Resources Created by Elastic Beanstalk....................................................... 73 Using Multiple Elastic Load Balancing Listeners................................................................ 74 Multicontainer Docker Configuration........................................................................................ 75 Dockerrun.aws.json Format ........................................................................................... 75 Tutorial - Multicontainer Docker.............................................................................................. 78 Configure a Container Instance IAM Role........................................................................ 78 Define Docker Containers ............................................................................................. 80 Add Content ............................................................................................................... 82 Deploy to Elastic Beanstalk ........................................................................................... 82 Connect to a Container Instance .................................................................................... 83 Inspect the Amazon ECS Container Agent....................................................................... 85 Applications from Preconfigured Docker Containers........................................................................... 87 Getting Started with Preconfigured Docker Containers............................................................... 87 Set Up Your Local Development Environment................................................................... 87 Develop and Test Locally............................................................................................... 88 Deploy to Elastic Beanstalk ........................................................................................... 89 Example: Customize and Configure Preconfigured Docker Platforms............................................ 89 Go Applications Using Preconfigured Docker Containers.................................................................... 90 Getting Started with Go Preconfigured Docker Containers.......................................................... 90 Set Up Your Local Development Environment................................................................... 90 Develop and Test Locally Using Docker............................................................................ 91 Deploy to Elastic Beanstalk ........................................................................................... 92 Java Applications Using Eclipse ..................................................................................................... 93 Develop, Test, and Deploy..................................................................................................... 93 Create Project............................................................................................................. 94 Test Locally ................................................................................................................ 96 Deploy to AWS Elastic Beanstalk.................................................................................... 98 Debug/View Logs....................................................................................................... 101 Edit the Application and Redeploy................................................................................. 101 Deploy to Production .................................................................................................. 102 Importing Existing Environments into Eclipse.......................................................................... 102 Using Custom Environment Properties .................................................................................. 102 Setting Custom Environment Properties with AWS Toolkit for Eclipse.................................. 102 Setting Custom Environment Properties with AWS Management Console............................ 103 Accessing Custom Environment Properties .................................................................... 104 Using Amazon RDS and MySQL Connector/J......................................................................... 105 Using a New Amazon RDS DB Instance with Java........................................................... 105 Using an Existing Amazon RDS DB Instance with Java..................................................... 107 Troubleshooting Database Connections ......................................................................... 108 Managing Multiple AWS Accounts......................................................................................... 110 Viewing Events ................................................................................................................. 111 Managing Environments...................................................................................................... 112 Changing Environment Configuration Settings................................................................. 112 Environment Types..................................................................................................... 113 API Version 2010-12-01 iv Elastic Beanstalk Developer Guide EC2 Server Instances................................................................................................. 113 Elastic Load Balancing................................................................................................ 116 Auto Scaling.............................................................................................................. 118 Notifications .............................................................................................................. 120 Containers ................................................................................................................ 121 Listing and Connecting to Server Instances............................................................................ 123 ................................................................................................................................ 414 Terminating an Environment................................................................................................. 123 ................................................................................................................................ 124 Tools................................................................................................................................ 124 AWS SDK for Java..................................................................................................... 124 AWS Toolkit for Eclipse ............................................................................................... 124 Resources ........................................................................................................................ 124 .NET Applications Using Visual Studio........................................................................................... 125 Get Started....................................................................................................................... 126 Step 1: Set Up the NerdDinner Application..................................................................... 126 Step 2: Launch an Amazon RDS DB Instance................................................................. 127 Step 3: Set Up the NerdDinner Database....................................................................... 128 Step 4: Deploy to Elastic Beanstalk............................................................................... 131 Develop, Test, and Deploy ................................................................................................... 134 Create a Project......................................................................................................... 135 Test Locally............................................................................................................... 135 Deploy to AWS Elastic Beanstalk ................................................................................. 136 Debug/View Logs ...................................................................................................... 143 Edit the Application and Redeploy................................................................................. 143 Deploy to Production .................................................................................................. 144 Deploy an Existing Application Version to an Existing Environment..................................... 149 Customizing and Configuring a .NET Environment................................................................... 150 Accessing Environment Configuration Settings................................................................ 151 Using Amazon RDS ........................................................................................................... 152 Using a New Amazon RDS DB Instance with .NET.......................................................... 152 Using an Existing Amazon RDS DB Instance with .NET.................................................... 153 Managing Multiple Accounts ................................................................................................ 154 ................................................................................................................................ 154 Monitoring Application Health............................................................................................... 155 Understanding Environment Health............................................................................... 155 Viewing Application Health and Environment Status......................................................... 157 ................................................................................................................................ 157 Viewing Events.................................................................................................................. 158 Managing Environments...................................................................................................... 159 Changing Environment Configurations Settings............................................................... 159 EC2 Server Instances................................................................................................. 159 Elastic Load Balancing................................................................................................ 162 Auto Scaling.............................................................................................................. 165 Notifications .............................................................................................................. 166 Containers ................................................................................................................ 167 Listing and Connecting to Server Instances............................................................................ 168 ................................................................................................................................ 414 Terminating an Environment................................................................................................. 169 ................................................................................................................................ 169 Tools................................................................................................................................ 170 AWS SDK for .NET..................................................................................................... 170 AWS Toolkit for Visual Studio........................................................................................ 170 Deployment Tool ........................................................................................................ 170 Resources ........................................................................................................................ 173 Node.js Applications Using EB CLI and Git..................................................................................... 174 Develop, Test, and Deploy ................................................................................................... 174 Get Set Up................................................................................................................ 175 API Version 2010-12-01 v Elastic Beanstalk Developer Guide Develop Locally ......................................................................................................... 175 Test Locally............................................................................................................... 176 Deploy to AWS Elastic Beanstalk ................................................................................. 176 Debug/View Logs ...................................................................................................... 178 Edit the Application and Redeploy................................................................................. 178 Deploy to Production .................................................................................................. 179 Deploy an Existing Application Version to an Existing Environment..................................... 179 Deploying an Express Application......................................................................................... 179 Step 1: Set Up Your Git Repository................................................................................ 180 Step 2: Set Up Your Express Development Environment.................................................... 180 Step 3: Configure Elastic Beanstalk............................................................................... 204 Step 4:View the Application......................................................................................... 183 Step 5: Update the Application ..................................................................................... 183 Step 6: Clean Up ....................................................................................................... 191 Deploying an Express Application with Clustering.................................................................... 191 Step 1: Set Up Your Git Repository................................................................................ 192 Step 2: Set Up Your Express Development Environment.................................................... 192 Step 3: Configure Elastic Beanstalk............................................................................... 204 Step 4:View the Application......................................................................................... 195 Step 5: Update the Application ..................................................................................... 195 Step 6: Clean Up ....................................................................................................... 202 Deploying a Geddy Application with Clustering........................................................................ 202 Step 1: Set Up Your Git Repository................................................................................ 202 Step 2: Set Up Your Geddy Development Environment...................................................... 203 Step 3: Configure Elastic Beanstalk............................................................................... 204 Step 5:View the Application......................................................................................... 205 Step 6: Update the Application ..................................................................................... 206 Step 7: Clean Up ....................................................................................................... 213 Customizing and Configuring a Node.js Environment............................................................... 213 Accessing Environment Configuration Settings................................................................ 215 Example: Configuring Nginx and Apache........................................................................ 215 Using the Console.............................................................................................................. 215 Using Amazon RDS ........................................................................................................... 216 Using a New Amazon RDS DB Instance with Node.js....................................................... 217 Using an Existing Amazon RDS DB Instance with Node.js................................................. 218 Tools................................................................................................................................ 219 AWS SDK for Node.js................................................................................................. 219 Git Deployment Via Eb................................................................................................ 219 Resources ........................................................................................................................ 219 PHP Applications Using Eb and Git............................................................................................... 220 Develop, Test, and Deploy ................................................................................................... 220 Get Set Up................................................................................................................ 221 Develop Locally ......................................................................................................... 221 Test Locally............................................................................................................... 222 Deploy to AWS Elastic Beanstalk ................................................................................. 222 Debug/View Logs ...................................................................................................... 224 Edit the Application and Redeploy................................................................................. 224 Deploy to Production .................................................................................................. 225 Deploy an Existing Application Version to an Existing Environment..................................... 225 Deploying a Symfony2 Application ........................................................................................ 225 Step 1: Set Up Your Git Repository................................................................................ 226 Step 2: Set Up Your Symfony2 Development Environment................................................. 226 Step 3: Configure Elastic Beanstalk............................................................................... 227 Step 4:View the Application......................................................................................... 229 Step 5: Update the Application ..................................................................................... 229 Step 6: Clean Up ....................................................................................................... 229 Deploying a CakePHP Application ........................................................................................ 230 Step 1: Set Up Your Git Repository................................................................................ 230 API Version 2010-12-01 vi Elastic Beanstalk Developer Guide Step 2: Set Up Your CakePHP Development Environment................................................. 230 Step 3: Configure Elastic Beanstalk............................................................................... 231 Step 4:View the Application......................................................................................... 233 Step 5: Update the Application ..................................................................................... 233 Step 6: Clean Up ....................................................................................................... 234 Deploying Using the Console............................................................................................... 235 Customizing and Configuring a PHP Environment.................................................................... 236 Accessing Environment Configuration Settings................................................................ 237 Using Amazon RDS ........................................................................................................... 237 Using a New Amazon RDS DB Instance with PHP........................................................... 238 Using an Existing Amazon RDS DB Instance with PHP..................................................... 239 Tools................................................................................................................................ 240 AWS SDK for PHP..................................................................................................... 240 Git Deployment Via Eb................................................................................................ 241 Resources ........................................................................................................................ 241 Python Applications Using EB CLI and Git...................................................................................... 242 Deploying a Django Application............................................................................................ 243 Step 1: Set Up Your Git Repository................................................................................ 243 Step 2: Set Up Your Python Development Environment..................................................... 243 Step 3: Configure Elastic Beanstalk............................................................................... 245 Step 3:View Application.............................................................................................. 246 Step 4: Update Application........................................................................................... 247 Step 5: Configure the Django Admin Site (Optional)......................................................... 249 Step 6: Clean Up ....................................................................................................... 251 Deploying a Flask Application............................................................................................... 252 Step 1: Initialize Your Git Repository.............................................................................. 252 Step 2: Configure Elastic Beanstalk............................................................................... 252 Step 3:View Application.............................................................................................. 254 Step 4: Update Application........................................................................................... 254 Step 5: Clean Up ....................................................................................................... 255 Using the Console.............................................................................................................. 256 Customizing and Configuring a Python Container.................................................................... 256 Accessing Environment Variables ................................................................................. 258 Using Amazon RDS ........................................................................................................... 258 Using a New Amazon RDS DB Instance with Python........................................................ 259 Using an Existing Amazon RDS DB Instance with Python................................................. 260 Tools................................................................................................................................ 261 Boto (open source AWS SDK for Python)....................................................................... 261 Git Deployment Via Eb................................................................................................ 261 Resources ........................................................................................................................ 261 Ruby Applications Using EB CLI and Git........................................................................................ 262 Deploying a Rails Application............................................................................................... 262 Rails Development Environment Setup .......................................................................... 263 Install the EB CLI....................................................................................................... 264 Set Up Your Git Repository.......................................................................................... 265 Configure the EB CLI.................................................................................................. 265 Deploy the Project...................................................................................................... 266 Update the Application................................................................................................ 268 Clean Up ................................................................................................................. 269 Deploying a Sinatra Application............................................................................................ 270 Step 1: Set Up Your Git Repository................................................................................ 270 Step 2: Configure Elastic Beanstalk............................................................................... 270 Step 3:View the Application......................................................................................... 272 Step 4: Update the Application ..................................................................................... 272 Step 5: Clean Up ....................................................................................................... 273 Customizing and Configuring a Ruby Environment................................................................... 273 Accessing Environment Variables ................................................................................. 274 Using Amazon RDS ........................................................................................................... 275 API Version 2010-12-01 vii Elastic Beanstalk Developer Guide Using a New Amazon RDS DB Instance with Ruby.......................................................... 275 Using an Existing Amazon RDS DB Instance with Ruby.................................................... 276 Tools................................................................................................................................ 277 AWS SDK for Ruby .................................................................................................... 277 Git Deployment Via EB CLI.......................................................................................... 277 Resources ........................................................................................................................ 277 Managing Applications................................................................................................................ 278 Creating New Applications................................................................................................... 279 AWS Management Console......................................................................................... 279 Command Line Interface (CLI)...................................................................................... 287 API.......................................................................................................................... 288 Creating New Application Versions........................................................................................ 292 AWS Management Console......................................................................................... 421 CLI .......................................................................................................................... 422 API.......................................................................................................................... 422 Creating an Application Source Bundle.................................................................................. 294 Zipping Files in Mac OS X Finder or Windows Explorer..................................................... 294 Creating a Source Bundle from the Command Line.......................................................... 297 Creating a Source Bundle with Git................................................................................ 298 Testing Your Source Bundle ......................................................................................... 298 Filtering Applications .......................................................................................................... 299 Launching New Environments.............................................................................................. 299 AWS Management Console......................................................................................... 299 CLI .......................................................................................................................... 308 API.......................................................................................................................... 309 Deploying Versions to Existing Environments.......................................................................... 313 AWS Management Console......................................................................................... 427 CLI .......................................................................................................................... 316 API.......................................................................................................................... 317 Deploying Versions with Zero Downtime................................................................................. 318 AWS Management Console......................................................................................... 318 CLI .......................................................................................................................... 321 API.......................................................................................................................... 325 Monitoring Application Health............................................................................................... 327 Health Monitoring....................................................................................................... 328 Monitoring Your Environment........................................................................................ 330 Managing Alarms............................................................................................................... 331 Viewing Events.................................................................................................................. 333 AWS Management Console......................................................................................... 334 CLI .......................................................................................................................... 334 API.......................................................................................................................... 335 Managing Environments...................................................................................................... 335 Changing Environment Configuration Settings................................................................. 336 Environment Tiers ...................................................................................................... 337 Environment Types..................................................................................................... 345 Changing Environment Type ........................................................................................ 346 Saving Environment Configuration Settings .................................................................... 348 Cloning an Environment.............................................................................................. 350 Amazon EC2 Server Instances..................................................................................... 352 Elastic Load Balancing................................................................................................ 358 Auto Scaling.............................................................................................................. 367 Rolling Updates ......................................................................................................... 375 Deploying Versions in Batches...................................................................................... 379 Canceling Environment and Application Version Updates.................................................. 381 Upgrading the Platform ............................................................................................... 382 Databases ................................................................................................................ 384 Notifications .............................................................................................................. 387 Tagging Environments ................................................................................................ 389 API Version 2010-12-01 viii Elastic Beanstalk Developer Guide Environment Configurations......................................................................................... 389 VPC ........................................................................................................................ 413 Listing and Connecting to Server Instances............................................................................ 413 ................................................................................................................................ 414 Working with Logs.............................................................................................................. 415 Viewing Tail Log Snapshots in the Elastic Beanstalk Console............................................. 415 Downloading Bundle Logs from the Elastic Beanstalk Console........................................... 417 Configuring Your Environment to Publish Logs to Amazon S3............................................ 419 Deleting Application Versions ............................................................................................... 421 AWS Management Console......................................................................................... 421 CLI .......................................................................................................................... 422 API.......................................................................................................................... 422 Terminating an Environment................................................................................................. 423 AWS Management Console......................................................................................... 423 CLI .......................................................................................................................... 424 API.......................................................................................................................... 424 Customizing Your Environments............................................................................................ 425 Migrating Your Application from a Legacy Container Type.......................................................... 426 Why are some container types marked legacy?............................................................... 426 Constructing a Launch Now URL.......................................................................................... 427 URL Parameters ........................................................................................................ 427 Example................................................................................................................... 429 Customizing and Configuring Environments.................................................................................... 430 Supported Container Types.................................................................................................. 430 Using Configuration Files .................................................................................................... 431 Customizing the Software on EC2 Instances Running Linux...................................................... 431 Packages ................................................................................................................. 432 Sources ................................................................................................................... 433 Files ........................................................................................................................ 434 Users....................................................................................................................... 435 Groups..................................................................................................................... 436 Commands ............................................................................................................... 436 Container_commands................................................................................................. 437 Services ................................................................................................................... 439 Option_settings ......................................................................................................... 440 Example: Using Custom Amazon CloudWatch Metrics ..................................................... 441 Customizing the Software on EC2 Instances Running Windows................................................. 447 Packages ................................................................................................................. 448 Sources ................................................................................................................... 449 Files ........................................................................................................................ 449 Commands ............................................................................................................... 450 Container_commands................................................................................................. 451 Services ................................................................................................................... 452 Option_settings ......................................................................................................... 454 Example: Using Custom Amazon CloudWatch Metrics ..................................................... 455 Customizing Environment Resources .................................................................................... 456 Resources ................................................................................................................ 457 Example Snippets: ElastiCache.................................................................................... 459 Example Snippet: SQS, CloudWatch, and SNS............................................................... 465 Example: DynamoDB, CloudWatch, and SNS................................................................. 467 Example Snippets ...................................................................................................... 477 Using Custom Domains .............................................................................................................. 478 Using a Domain Hosted by a Third Party................................................................................ 478 Using a Domain Hosted by Amazon Route 53......................................................................... 479 Configuring HTTPS .................................................................................................................... 482 Step 1: Create a Custom Domain.......................................................................................... 482 Step 2: Create and Upload an SSL Certificate to AWS IAM....................................................... 483 Install and Configure OpenSSL .................................................................................... 483 API Version 2010-12-01 ix Elastic Beanstalk Developer Guide Create a Private Key................................................................................................... 484 Create a Certificate Signing Request............................................................................. 484 Submit the CSR to Certificate Authority.......................................................................... 485 Upload the Signed Certificate....................................................................................... 486 Step 3: Update Your Elastic Beanstalk Environment to Use HTTPS............................................. 486 SSL on Single Instances ............................................................................................................. 489 Step 1: Create an SSL Certificate and Private Key................................................................... 489 Step 2: Create an SSL Configuration File............................................................................... 490 Step 3: Open Port 443........................................................................................................ 490 Step 4: Complete the Configuration File for Your Container Type................................................. 491 SSL on Docker .................................................................................................................. 491 SSL on Java/Apache Tomcat................................................................................................ 494 SSL on Node.js ................................................................................................................. 496 SSL on PHP ..................................................................................................................... 500 SSL on Python .................................................................................................................. 502 SSL on Ruby..................................................................................................................... 506 Ruby with Puma ........................................................................................................ 506 Ruby with Passenger.................................................................................................. 509 Troubleshooting ......................................................................................................................... 510 Launch Events .................................................................................................................. 512 HTTP HEAD Request to Your Elastic Beanstalk URL Fails................................................. 512 CPU Utilization Exceeds 95.00%.................................................................................. 513 Elastic Load Balancer Has Zero Healthy Instances.......................................................... 513 Elastic Load Balancer Cannot Be Found........................................................................ 513 Instance Fails to Respond to Status Health Check........................................................... 515 Environment Launch Fails ........................................................................................... 515 Amazon EC2 Instance Launch Fails.............................................................................. 515 Application Does Not Enter the Ready State Within the Timeout Period............................... 515 Environment Launches but with Issues.......................................................................... 516 Amazon EC2 Instances Fail to Launch within the Wait Period............................................. 516 Launch and Update Environment Operations Succeeded but with Command Timeouts.......... 517 Docker Containers ............................................................................................................. 518 Dockerfile Syntax Errors.............................................................................................. 518 Dockerrun.aws.json Syntax Errors................................................................................. 518 No EXPOSE Directive Found in Dockerfile...................................................................... 519 Invalid EC2 Key Pair and/or S3 Bucket in Dockerrun.aws.json............................................ 520 Other AWS Services................................................................................................................... 521 Architectural Overview ........................................................................................................ 521 Amazon CloudFront............................................................................................................ 522 AWS CloudTrail ................................................................................................................. 522 Amazon CloudWatch .......................................................................................................... 523 Amazon CloudWatch Logs................................................................................................... 523 Granting IAM Permissions ........................................................................................... 525 Setting Up CloudWatch Logs Integration with Configuration Files....................................... 526 Troubleshooting CloudWatch Logs Integration................................................................. 527 DynamoDB ....................................................................................................................... 527 Amazon ElastiCache .......................................................................................................... 527 Amazon RDS .................................................................................................................... 528 Amazon Route 53 .............................................................................................................. 528 Amazon S3....................................................................................................................... 531 Amazon VPC .................................................................................................................... 531 What VPC Configurations Do I Need?............................................................................ 531 Example: Launching a Single-Instance Environment without Any Associated Private Resources in a VPC................................................................................................................... 533 Example: Launching a Load-Balancing, Autoscaling Environment with Private Instances in a VPC ........................................................................................................................ 536 Example: Bastion Hosts .............................................................................................. 542 Example: Amazon RDS............................................................................................... 550 API Version 2010-12-01 x
Description: