AWS DevOps & Developer Productivity Blog

Category: Best Practices

Best practices for managing Terraform State files in AWS CI/CD Pipeline

Introduction Today customers want to reduce manual operations for deploying and maintaining their infrastructure. The recommended method to deploy and manage infrastructure on AWS is to follow Infrastructure-As-Code (IaC) model using tools like AWS CloudFormation, AWS Cloud Development Kit (AWS CDK) or Terraform. One of the critical components in terraform is managing the state file which […]

Generative AI Meets AWS Security

A Case Study Presented by CodeWhisperer Customizations Amazon CodeWhisperer is an AI-powered coding assistant that is trained on a wide variety of data, including Amazon and open-source code. With the launch of CodeWhisperer Customizations, customers can create a customization resource. The customization is produced by augmenting CodeWhisperer using a customer’s private code repositories. This enables […]

cfn-hooks-to-an-org-with-service-managed-perms

Deploy CloudFormation Hooks to an Organization with service-managed StackSets

This post demonstrates using AWS CloudFormation StackSets to deploy CloudFormation Hooks from a centralized delegated administrator account to all accounts within an Organization Unit(OU). It provides step-by-step guidance to deploy controls at scale to your AWS Organization as Hooks using StackSets. By following this post, you will learn how to deploy a hook to hundreds […]

Looking beyond code coverage with Amazon CodeWhisperer

Code coverage is a code quality metric leveraging unit tests. Coming up with test cases with every combination of parameters requires developer’s time, which is already scarce. Developers’ focus is (mis)directed at just meeting the coverage threshold. In doing so, quality of code may be compromised and resulting code may still result in unexpected outcomes. […]

Best Practices for Prompt Engineering with Amazon CodeWhisperer

Generative AI coding tools are changing the way developers accomplish day-to-day development tasks. From generating functions to creating unit tests, these tools have helped customers accelerate software development. Amazon CodeWhisperer is an AI-powered productivity tools for the IDE and command line that helps improve developer productivity by providing code recommendations based on developers’ natural language […]

Best practices for scaling AWS CDK adoption within your organization

Enterprises are constantly seeking ways to accelerate their journey to the cloud. Infrastructure as code (IaC) is crucial for automating and managing cloud resources efficiently. The AWS Cloud Development Kit (AWS CDK) lets you define your cloud infrastructure as code in your favorite programming language and deploy it using AWS CloudFormation. In this post, we […]

Getting started with Projen and AWS CDK

In the modern world of cloud computing, Infrastructure as Code (IaC) has become a vital practice for deploying and managing cloud resources. AWS Cloud Development Kit (AWS CDK) is a popular open-source framework that allows developers to define cloud resources using familiar programming languages. A related open source tool called Projen is a powerful project […]

Your DevOps and Developer Productivity guide to re:Invent 2023

Your DevOps and Developer Productivity guide to re:Invent 2023 ICYMI – AWS re:Invent is less than a week away! We can’t wait to join thousands of builders in person and virtually for another exciting event. Still need to save your spot? You can register here. With so much planned for the DevOps and Developer Productivity […]

Announcing the AWS Well-Architected Framework DevOps Guidance

March 26, 2024: The DevOps Guidance is now available in the Lens Catalog of the AWS Well-Architected Tool as the DevOps Lens. This update enables users to self-assess their cloud-based workloads against these best practices and view improvement plans through the tool’s report. Today, Amazon Web Services (AWS) announced the launch of the AWS Well-Architected […]

Using Generative AI, Amazon Bedrock and Amazon CodeGuru to Improve Code Quality and Security

Automated code analysis plays a key role in improving code quality and compliance. Amazon CodeGuru Reviewer provides automated recommendations that can assist developers in identifying defects and deviation from coding best practices. For instance, CodeGuru Security automatically flags potential security vulnerabilities such as SQL injection, hardcoded AWS credentials and cross-site request forgery, to name a […]