Skip to content

Create a development environment with Okteto, Kubernetes, and AWS services with LocalStack

License

Notifications You must be signed in to change notification settings

okteto/external-resources-tf-localstack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create a Development Environment with Okteto, Kubernetes, and Localstack AWS services

This is an example of how to configure and deploy a development environment that includes polyglot microservices, an AWS SQS queue, and an S3 bucket. The AWS infrastructure is deployed using LocalStack to keep things simple.

Architecture

Architecture diagram

Run the demo application in Okteto

Prequisites:

  1. Okteto CLI 2.23 or newer
  2. An Okteto account (Sign-up for 30 day, self-hosted free trial) Once this is configured, anyone with access to your Okteto instance will be able to deploy an development environment automatically, including the required cloud infrastructure.
$ git clone https://github.com/okteto/external-resources-tf-localstack
$ cd external-resources-tf-localstack
$ okteto context use $OKTETO_URL
$ okteto deploy

Develop on the Menu microservice

$ okteto up menu

Develop on the Kitchen microservice

$ okteto up kitchen

Develop on the Result microservice

$ okteto up check

Notes

This isn't an example of a properly architected perfectly designed distributed app... it's a simple example of the various types of pieces and languages you might see (queues, persistent data, etc), and how to deal with them in Okteto.

Happy coding!

About

Create a development environment with Okteto, Kubernetes, and AWS services with LocalStack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published