source code for the Java version of the "Docker and Kubernetes: The Complete Guide" course
AWS Elastic Beanstalk version (Up to 11.-Multi-Container Deployments to AWS
section) is on the elastic-beanstalk
subfolder:
$ cd elastic-beanstalk
$ docker-compose up --build
Navigate to http://localhost:3050/
-
The repository must be created on https://github.com/
-
The repository must be assigned from GitHub on https://travis-ci.com/. The following setting variables must be set up:
- AWS_ACCESS_KEY (for 11.-Multi-Container Deployments to AWS)
- AWS_SECRET_KEY (for 11.-Multi-Container Deployments to AWS)
- DOCKER_ID
- DOCKER_PASSWORD
- The following instances must be created on Amazon (for 11.-Multi-Container Deployments to AWS)
- Elastic Beanstalk (EB)
- Relational Database Service (RDS) for Postgres
- ElastiCache for Redis
- Custom Security Group
- Identity and Access Magagement (IAM)
Kubernetes minkube local version (From 12.-Onwards to Kubernetes!
) is on the multi-container-minikube
folder:
- Create the
secrets
for thepostgres
password:kubectl create secret generic pgpassword --from-literal PGPASSWORD=postgres_password
- Execute the
mandatory
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/mandatory.yaml
Ingress Nginx
command - Enable Ingress using
minikube addons enable ingress
- Install all the
Kubernetes objects
withkubectl apply -f k8s
- Get the local IP with
minikube IP
- Browse to the local IP
- The repository must be assigned from GitHub on https://travis-ci.org/. The following setting variables must be set up:
- DOCKER_ID
- DOCKER_PASSWORD
- Create different Docker Container Types and relate all of them
- React Client App
- Java Spring Web Framework API with Maven
- Java Maven Console
- Postgres
- Redis
- NGINX
- Use Postgres from a Docker Container with Java
- Use Redis from a Docker Container with Java creating a subscription on the Web API App and subscribe to it on the Console App.
- Accept dynamic POST request with Java Spring Framework Web API
- Send dynamic JSON responses from Java Spring Framework Web API
- Use Docker Compose to run and relate easily different Docker Components
- Use NIGIX Container to run the React Client App
- Use NIGIX Container as Reverse Proxy with Java Spring Framework Web API
- Work with different AWS Amazon service types to deploy a multi container Docker application using AWS Elastic Beanstalk
- Upload own Containers to Docker Hub and download them with the deployment
- Use Travis CI for the Continuous Integration Workflow
- Use Kubernetes to run the same multi container application
- Use Minikube to run Kubernetes locally
- Use Kubectl CLI for interacting with Kubernetes Master
- Use Google Kubernetes Engine to run the Kubernetes Cluster on the Cloud
- Run the Ruby Travis CI CLI from a Docker container locally
- Manage the automatic creation and renewal of a TLS certificate using Kubernetes to run the application with HTTPS
https://www.udemy.com/docker-and-kubernetes-the-complete-guide
https://documentation.peelmicro.info/projects/java-multi-docker.html