One of the benefits of working at EY is Udemy for Business. I decided to further enhance my DevOps skills by enrolling in the "DevOps Projects | 20 Real-Time DevOps Projects" course, and I'm sharing my journey for educational purposes.
- ✅ Multi Tier Application Stack.
- ✅ Running on VM’s.
- ✅ Regular deployment.
- ✅Continuous Changes.
- ❌ High CapEx and OpEx.
- ❌ Human Errors in deployment.
- ❌ Not compatible with microservice architecture.
- ❌Resource wastage.
- ❌ Not portable, environment not in syncs.
- 🐳 Docker Containers.
- 🐳Consume low Resource.
- 🐳 Suit very well for microservice design.
- 🐳 Deployment via images.
- 🐳 Same container images across env.
- 🐳 Reusable and repeatable.
- 👩🏽💻 Docker (Container Runtime / Environment).
- 👩🏽💻 Java Stack (Vprofile Application services).
- ⏭️ Find right base image from dockerhub.
- ⏭️ Write dockerfile to customize images.
- ⏭️ Write docker compose.yml file to run multi containers.
- ⏭️ Test it and host images on dockerhub.
Summary Docker commands used:
- 🐳 docker compose build.
- 🐳 docker-compose up -d
- 🐳 docker images
- 🐳 docker compose ps
- 🐳 docker compose down
- 🐳 docker system prune -a
GitHub Repository: vprofile-project-container
Udemy Course: DevOps Projects | 20 Real-Time DevOps Projects
- JDK 1.8 or later
- Maven 3 or later
- MySQL 5.6 or later
- Spring MVC
- Spring Security
- Spring Data JPA
- Maven
- JSP
- MySQL
Here,we used Mysql DB MSQL DB Installation Steps for Linux ubuntu 14.04:
- $ sudo apt-get update
- $ sudo apt-get install mysql-server
Then look for the file :
- /src/main/resources/accountsdb
- accountsdb.sql file is a mysql dump file.we have to import this dump to mysql db server
-
mysql -u <user_name> -p accounts < accountsdb.sql