Dockerizing and deploying a simple API store, where you can GET and POST Pokemon seems like a fun way to learn about the basics of ECS and AWS services!

All code can be found here.

Prerequisites:

Let’s first create a simple DynamoDB database.

First create a new file called “create-table.json”, and paste in the json data below. We’re setting up a table with just two attributes (pokemon name, and pokemon type)

{
“TableName”: “Pokemon”,
“KeySchema”: [
{ “AttributeName”: “name”, “KeyType”: “HASH” },
{ “AttributeName”: “type”, “KeyType”: “RANGE” }

],
“AttributeDefinitions”…

Shan Pandya

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store