AWS DevOps Blog

Using AWS OpsWorks to Customize and Automate App Deployment on Windows

by Daniel Huesch | on | in How-To* | Permalink | Comments |  Share

Using OpsWorks and Chef on Windows helps you optimize your use of Windows by reliably automating configuration tasks to enforce instance compliance. Automating instance configuration enables software engineering best practices, like code-reviews and continuous integration, and allows smaller, faster delivery than with manual configuration. With automated instance configuration, you depend less on golden images or […]

Read More

How to Package Cookbook Dependencies Locally with Berkshelf

by Daniel Huesch | on | Permalink | Comments |  Share

When AWS OpsWorks added support for Chef 11.10, OpsWorks introduced built-in support for Berkshelf, a dependency manager for Chef cookbooks. Enabling Berkshelf installs it on instances managed by OpsWorks so that it resolves cookbook dependencies on the instances as specified in a Berksfile. Despite the benefits, using Berkshelf with OpsWorks this way does have some […]

Read More

Integrating AWS OpsWorks and AWS CodeCommit

Take advantage of CodeCommit as a repository for OpsWorks now! AWS OpsWorks (OpsWorks) can automatically fetch the Apps and Chef cookbooks from Git repositories, among other sources. This post shows how AWS OpsWorks can use the new Git-based repository service, AWS CodeCommit (CodeCommit), to fetch and deploy an application stored in an CodeCommit repository.   […]

Read More

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 […]

Read More

Integrating AWS CodeCommit with Review Board

Today we have a guest post from Jeff Nunn, a Solutions Architect at AWS, specializing in DevOps and Big Data solutions. By now you’ve probably heard of AWS CodeCommit–a secure, highly scalable, managed source control service that hosts private Git repositories. AWS CodeCommit supports the standard functionality of Git, allowing it to work seamlessly with […]

Read More

Integrating AWS CodeCommit with Jenkins

Today we have a guest post written by Emeka Igbokwe, a Solutions Architect at AWS. This post walks you through the steps to set up Jenkins and AWS CodeCommit to support 2 simple continuous integration (CI) scenarios.  In the 1st scenario, you will make a change in your local Git repository, push the change to […]

Read More

Manage agent updates on AWS OpsWorks-managed instances

by Daniel Huesch | on | Permalink | Comments |  Share

Until today, AWS OpsWorks customers have had no choice about whether and when to receive updates for the agent and the built-in cookbook. Beginning today, you can select whether you receive such updates and, if you do, when the updates will occur. On the Add Stack page, in the OpsWorks Agent Version field, choose Manual […]

Read More

Using CodeDeploy Environment Variables

by Amartya Datta Gupta | on | Permalink | Comments |  Share

Using CodeDeploy Environment Variables AWS CodeDeploy AWS CodeDeploy is an AWS service that can help customers deploy their applications quickly and reliably to Amazon EC2 instances or on-premises servers. To learn more about the service, visit the AWS CodeDeploy home page or see the AWS CodeDeploy documentation. When you use AWS CodeDeploy, your deployment goes […]

Read More

Using Capistrano to run arbitrary commands on AWS OpsWorks instances

by Daniel Huesch | on | in How-To* | Permalink | Comments |  Share

AWS OpsWorks customers frequently request the ability to run arbitrary commands. And while OpsWorks sets up and manages the Amazon EC2 instances your application runs on and manages users’ access to your instances, it doesn’t allow running arbitrary commands. Let’s say, for example, that you wanted to run uptime across your fleet. You could create […]

Read More

Send ECS Container Logs to CloudWatch Logs for Centralized Monitoring

by Chris Barclay | on | in How-To* | Permalink | Comments |  Share

My colleagues Brandon Chavis, Pierre Steckmeyer and Chad Schmutzer sent a nice guest post that demonstrates how to send your container logs to a central source for easy troubleshooting and alarming.   —– On May 5 Amazon ECS launched support for the Amazon CloudWatch Logs Docker driver. This provides a simpler method to send container logs […]

Read More