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.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Creating initial file from template Aug 2, 2019
microservices-greeting
microservices-name
microservices-webapp Initial Commit Aug 21, 2019
tests
website
.gitignore
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE Creating initial file from template Aug 2, 2019
README.md Initial Commit Aug 21, 2019
buildspec.yml
ddb_names.json Initial Commit Aug 21, 2019
env-webapp.json
env.json
greeting-sam.yaml
name-sam.yaml
polyglot-app-pipeline.yaml
webapp-sam.yaml

README.md

CodeBuild Polyglot Application

Copyright 2019 Amazon.com, 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.