X

Getting dockers with local AWS services

In development environment you might want to test the integration between your code and some endpoint of the AWS services.

To minimise the cost, you might want to find a cheaper alternative instead of setting up the full set of the production infrastructure (copy) just for the development purpose.
(Well, if the cost is not an issue for you, then may be you not to read the remaining part.8-))

Firstly, there is a mock docker images for most the useful AWS services.
It is from localstack/localstack (github (localstack) https://github.com/localstack/localstack)

For a starter, if you just want to have docker-compose and start everything.
just copy its docker-compose.yaml into a folder.

version: "2"
    localstack:
      image: localstack/localstack
      ports: 
        - 4567-4584:4567-4584
        - 8080:8080
      environment:
        - DATA_DIR=/tmp/localstack/data
      volumes:
        - ./localstack:/tmp/localstack

then do a docker-compose up

docker-compose up

it should be able to pull and fetch all the necessary image to complete.
Once done, it will be ready to use.

Once done, by default there is a Web UI running at port 8080,
but I’m not sure as nothing else come out, except the following empty page,
asking to get to localstack pro instead.

Then, I dig around and found the following useful package UI for the dashboard.
The Commandeer. (https://getcommandeer.com/)

It give me some UI to access/create my local AWS services such as S3 bucket, SQS, SNS, etc.

and also the some overview about the other infra like docker container list itself.

Namran Hussin: a soft spoken guy... with exceptional interest in computers and technology. I love to learn new thing and also love to break thing for the sake of learning.. but I do abide to the self-imposed limitation or certain thing such as social thing in life, thing can be done and thing that must be avoided at whatever cost such as drug,illegal tracking, smoke,illicit activity..etc.muahahaha let's share what we had in this short term of the life.! make it worth of the living.~
Related Post
Leave a Comment