Comprehensive Software Reviews to make better IT decisions

Sr hero 001 Sr hero 002 Sr hero 003 Sr hero 004

AWS CDK Breaks New Ground in Infrastructure as Code

Amazon Web Services (AWS) released AWS Cloud Development Kit (CDK) to general availability on July 11.

The service allows developers to define cloud infrastructure along with their application code, in order to provision that infrastructure using AWS CloudFormation.

CDK makes it quicker and easier for users to define how to provision cloud infrastructure.

A typical application running in the cloud might consist of a front-end web server, a back-end application that processes transactions, and a database.

Before CDK, there were a couple different ways users could build and run such an app in AWS:

  • Build it from the individual AWS infrastructure resources. Using the AWS console or AWS command line interface (CLI), users can define infrastructure resources for the web server, the back end, and the database, and configure these resources appropriately to build the application stack.
  • Write a CloudFormation template. CloudFormation defines infrastructure resources and configurations in a text file, and can launch full stacks of AWS resources based on how they are defined.

In either of these cases, the users who administer those AWS resources must often do a good deal of heavy lifting to effectively architect the cloud components of the application. Now they can define cloud resources as abstractions within the code itself.

These resource abstractions are called “constructs,” and are defined entirely using CDK parameters in code: TypeScript, Python, or JavaScript.

CDK will use intelligent algorithms to produce an appropriate CloudFormation template to build the entire application stack.

For example, CDK will automatically instantiate the least-privileged access security permissions necessary for your services to run, and prompt the user to approve those security configuration changes.

The user can declaratively define the desired architecture of the application stack, and CDK translates that into the appropriate AWS identity and access management (IAM) and security settings.

Source: What Is the AWS CDK?

Our Take

For anyone who knows the hassle of sorting out the various security settings and permissions for AWS services, CDK comes as a huge step forward in the usability of the platform.

Furthermore, CDK allows for infrastructure resources and patterns to be reused. Rather than building everything from scratch each time, we can save and share the artifacts built in CDK with other teams or even other organizations.

Developers have become accustomed to re-using code, but many IT professionals have yet to grok the idea of reusing infrastructure. They will have to adopt a different way of thinking and working in order to take full advantage of such expanded infrastructure-as-code capabilities.

CKD is a powerful step forward in infrastructure-as-code tooling for those using AWS. Info-Tech expects that infrastructure-as-code tools will continue to evolve to become more sophisticated and more powerful.

The challenge for IT professionals will be to keep up with the pace of these changes to fully unlock the value of infrastructure as code for their organizations.


Want to Know More?

Orchestration Tool Makers Set Sights on Security and Compliance

Amazon Web Services Streamlines Container Networking