AWS DevOps Blog
Tag: Best practices
AWS CodeDeploy: Deploying from a Development Account to a Production Account
AWS CodeDeploy helps users deploy software to a fleet of Amazon EC2 or on-premises instances. A software revision is typically deployed and tested through multiple stages (development, testing, staging, and so on) before it’s deployed to production. It’s also a common practice to use a separate AWS account for each stage. In this blog post, […]
Setting Up the Jenkins Plugin for AWS CodeDeploy
The following is a guest post by Maitreya Ranganath, Solutions Architect. In this post, we’ll show you how to use the Jenkins plugin to automatically deploy your builds with AWS CodeDeploy. We’ll walk through the steps for creating an AWS CodeCommit repository, installing Jenkins and the Jenkins plugin, adding files to the CodeCommit repository, and […]
AWS CloudFormation at AWS re:Invent 2015: Breakout Session Recap, Videos, and Slides
The AWS CloudFormation team and others presented and shared many updates and best practices during several 2015 AWS re:Invent sessions in October. We wanted to take the opportunity to show you where our presentation slides and videos are located as well as highlight a few product updates and best practices that we shared at this […]
Under the Hood: AWS CodeDeploy and Auto Scaling Integration
Under the Hood: AWS CodeDeploy and Auto Scaling Integration AWS CodeDeploy is a service that automates application deployments to your fleet of servers. Auto Scaling is a service that lets you dynamically scale your fleet based on load. Although these services are standalone, you can use them together for hands-free deployments! Whenever new Amazon EC2 […]
Faster Auto Scaling in AWS CloudFormation Stacks with Lambda-backed Custom Resources
Many organizations use AWS CloudFormation (CloudFormation) stacks to facilitate blue/green deployments, routinely launching replacement AWS resources with updated packages for code releases, security patching, and change management. To facilitate blue/green deployments with CloudFormation, you typically pass code version identifiers (e.g., a commit hash) to new application stacks as template parameters. Application servers in an Auto Scaling […]
Using the Elastic Beanstalk (EB) CLI to create, manage, and share environment configuration
My colleague Nick Humrich wrote up the guest post below to share a powerful way to use the EB CLI to manage environment configurations — Abhishek The AWS Elastic Beanstalk command line interface (EB CLI) makes it easier for developers to get started with Elastic Beanstalk by using command line tools. Last November, we released […]
Use AWS CodeDeploy to Deploy to Amazon EC2 Instances Behind an Elastic Load Balancer
AWS CodeDeploy is a new service that makes it easy to deploy application updates to Amazon EC2 instances. CodeDeploy is targeted at customers who manage their EC2 instances directly, instead of those who use an application management service like AWS Elastic Beanstalk or AWS OpsWorks that have their own built-in deployment features. CodeDeploy allows developers […]
Use a CreationPolicy to Wait for On-Instance Configurations
When you provision an Amazon EC2 instance in an AWS CloudFormation stack, you might specify additional actions to configure the instance, such as install software packages or bootstrap applications. Normally, CloudFormation proceeds with stack creation after the instance has been successfully created. However, you can use a CreationPolicy so that CloudFormation proceeds with stack creation […]
Best Practices for Deploying Applications on AWS CloudFormation Stacks
With AWS CloudFormation, you can provision the full breadth of AWS resources including Amazon EC2 instances. You provision the EC2 instances to run applications that drive your business. Here are some best practices for deploying and updating those applications on EC2 instances provisioned inside CloudFormation stacks: Use AWS::CloudFormation::Init Use IAM roles to securely download software […]
Use Nested Stacks to Create Reusable Templates and Support Role Specialization
When you create AWS CloudFormation templates, you might find that you’re continually describing the same set of resources in different templates. However, instead of repeatedly adding them to each of your templates, consider using nested stacks. What are Nested Stacks With nested stacks, you can link to a template from within any other template. You […]