මචන් මම devops වලට අලුත්. මම youtube and udemy වගේ එවගේ tutorials බලල තියෙනවා, මට පොඩි අස්යිමන්ට් එකක් හම්බුන. මම බැලුවේ කරලා පුරුදු වෙන්න. හැබැයි තාම එහෙම අමාරුඉ. අනේ මේක බලල පොඩ්ඩක් flow එක හදාගන්න help එකක් දෙන්නකෝ. රිසෝසස් එහෙම තියෙනම් දන්න? මේකේ Design a Simple Microservice part එක නම් තියෙනවා. කෝඩ් එක තියෙනවා.
Design a Simple Microservice
• Choose a core component of a larger application idea (e.g., product catalog for ecommerce, etc.).
• Outline the functionality and endpoints of this microservice.
• You can choose any programming language/ framework of your choice.
මේ පාට් එකේ ඉදන් තමා ඕනේ
Implement Basic DevOps Practices
• The code should be hosted in version controlling system. Make sure it’s a public repository.
• Use CI/CD pipelines to automate the build and deployment process for the microservice.
Containerize the Microservice using Docker
• Your microservice should be containerized.
• Use any existing container registry service to host your container image. The application deployment should consume the container image from the container registry.
Deploy the Microservice
• Use managed container orchestration services provided by your cloud service provider to deploy the containerized microservice.
o You can use cloud specific services like ECS (Elastic Container Service)/ Azure Container Apps etc..
o You have the freedom to even use managed Kubernetes services provided by
your chosen cloud service provider.
• Ensure the microservice is accessible over the internet.
Integrate Basic Security Measures
• Implement basic security best practices (like using IAM roles, security groups etc,,).
• Ensure the microservice handles data securely and follows principles of least privilege.
• Integrate managed SAST tools like SonarCloud or Snyk to enable DevSecOps practices to your microservice development.
Design a Simple Microservice
• Choose a core component of a larger application idea (e.g., product catalog for ecommerce, etc.).
• Outline the functionality and endpoints of this microservice.
• You can choose any programming language/ framework of your choice.
මේ පාට් එකේ ඉදන් තමා ඕනේ
Implement Basic DevOps Practices
• The code should be hosted in version controlling system. Make sure it’s a public repository.
• Use CI/CD pipelines to automate the build and deployment process for the microservice.
Containerize the Microservice using Docker
• Your microservice should be containerized.
• Use any existing container registry service to host your container image. The application deployment should consume the container image from the container registry.
Deploy the Microservice
• Use managed container orchestration services provided by your cloud service provider to deploy the containerized microservice.
o You can use cloud specific services like ECS (Elastic Container Service)/ Azure Container Apps etc..
o You have the freedom to even use managed Kubernetes services provided by
your chosen cloud service provider.
• Ensure the microservice is accessible over the internet.
Integrate Basic Security Measures
• Implement basic security best practices (like using IAM roles, security groups etc,,).
• Ensure the microservice handles data securely and follows principles of least privilege.
• Integrate managed SAST tools like SonarCloud or Snyk to enable DevSecOps practices to your microservice development.