Skip to content
Build and Test Polyglot Applications using AWS CodeBuild
Java Python HTML TypeScript JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Creating initial file from template Aug 2, 2019
microservices-webapp Initial Commit Aug 21, 2019
LICENSE Creating initial file from template Aug 2, 2019 Initial Commit Aug 21, 2019
ddb_names.json Initial Commit Aug 21, 2019

CodeBuild Polyglot Application

Copyright 2019, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: MIT-0

With microservices becoming new normal, it's natural to use multiple different programming languages for different microservices in the same application. AWS CodeBuild adds support for polyglot build using runtime versions. This repo contains 3 different microservices named microservices-greeting(Python), microservices-name(JavaScript) and microservices-webapp(Java) written in different programming languages. Using one CodeBuild project all these microservices can be built and packaged ready to be deployed using AWS CloudFormation.

Once the microservices are built successfully, it will get deployed locally using AWS SAM CLI local command all the microservices will be launched locally connecting to DynamoDB on Docker locally. CodeBuild includes headless browsers as part of it's containers and using those headless browsers UI testing will be performed to validate the build.

Steps to deploy this Application

Step 1: Create an AWS CodeCommit repository following the documentation and checkout the newly create repository.

Step 2: Copy the content of this GitHub repository to your newly created CodeCommit repository and run git push to upload the content to the remote repostiory.

Step 3: Create a CloudFormation stack using the polyglot-app-pipeline.yaml template to launch the pipeline in AWS CodePipeline.

You can’t perform that action at this time.