menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Devops News

>

Deploying ...
source image

Dev

1M

read

354

img
dot

Image Credit: Dev

Deploying a Microservices Stock Trading Application on AWS with Terraform, Kubernetes & Helm

  • The author shares their experience of building a cloud-native stock data management system using Spring Boot and MySQL.
  • After testing the application using docker-compose, they decided to deploy it on AWS EKS using Terraform, Kubernetes, and Helm.
  • Infrastructure provisioning involved setting up the AWS environment with Terraform code, including EKS cluster, networking, IAM roles, Ingress controller, VPC, and more.
  • After provisioning, the author configured kubectl for the EKS cluster, created and set the namespace, obtained the public IP of the Nginx Ingress Controller, and updated the application's Ingress configuration.
  • Accessing the application was done through the frontend public FQDN, which directed to the application running behind Nginx Ingress.
  • The author suggests exploring the code and experimenting with the API to interact with the stock trading graphs provided by the application.
  • Security considerations were highlighted, emphasizing the importance of best practices like using environment variables, secrets management tools, and cloud provider-specific encryption solutions for database credentials.
  • Additionally, the author mentions a bonus project where the deployed application was used to create Helm charts for further learning.

Read Full Article

like

21 Likes

For uninterrupted reading, download the app