What is a Devops ??
What is Devops and its culture to adopt?
Devops is simply a means of collaboration between developers and operations team working together over a common goal of making a commit change or complete source code live with just click of an instance i.e How operations team with the help of their coding skill sets automate their infrastructure in an cost efficient and effective manner in order to save time to market the product in fastest possible way.
Devops Best Practices:(AWS Specific)
1.Do not stick with any single tool or code for solving a problem whether it can be Backup and restore or monitoring,cloud infrastructure setup ,first solve the problem then provide the best way of doing it with a purpose like for monitoring we can use any tool like nagios or zabbix but both tools has its own advantages and disadvantages so before moving with any tools it better to understand its pros and cons.
2.Always Keep your App server,DB server in private subnet so no public access.
3.Monitor all critical servers so that if there is any issues it should be reported.
4.Monitor all important url either with script or with any monitoring tool like nagios.
5.Keep your security group tighten that is open only that port that is required within VPC or publicly.
6.Daily AMI and snapshot creation for all your critical server is mandatory condition in case of any failure.
7.Keep your application highly available by deploying it through a load balancer to different Availability Zones..
8. Optimize your infrastructure cost wherever possible :
8.1: Move to instances with newer generation as they are far cheaper,
8.2: Make an RI list of instances that you always wants as ondemand instance.
8.3: Try to use ALB instead of ELB as it can save some cost.
8.4: Remove Elastic IP if an instance is in stop state .
8.5: Compare your CPU and Memory requirement of given instance to developers and check if the resource is not utilized its better to downgrade that instances in order to save a lot.
8.6: Check your volume requirement with past month and check if there is an extra volume attached or larger volume attached which is not required so its better to reduce it in order to save a extra dollar.
9.Follow best practices for configuration of any instances ,provision or launch like making use of cloudformation, terraform, chef , ansible or puppet in order to launch anything with a single click.
Devops is simply a means of collaboration between developers and operations team working together over a common goal of making a commit change or complete source code live with just click of an instance i.e How operations team with the help of their coding skill sets automate their infrastructure in an cost efficient and effective manner in order to save time to market the product in fastest possible way.
Devops Best Practices:(AWS Specific)
1.Do not stick with any single tool or code for solving a problem whether it can be Backup and restore or monitoring,cloud infrastructure setup ,first solve the problem then provide the best way of doing it with a purpose like for monitoring we can use any tool like nagios or zabbix but both tools has its own advantages and disadvantages so before moving with any tools it better to understand its pros and cons.
2.Always Keep your App server,DB server in private subnet so no public access.
3.Monitor all critical servers so that if there is any issues it should be reported.
4.Monitor all important url either with script or with any monitoring tool like nagios.
5.Keep your security group tighten that is open only that port that is required within VPC or publicly.
6.Daily AMI and snapshot creation for all your critical server is mandatory condition in case of any failure.
7.Keep your application highly available by deploying it through a load balancer to different Availability Zones..
8. Optimize your infrastructure cost wherever possible :
8.1: Move to instances with newer generation as they are far cheaper,
8.2: Make an RI list of instances that you always wants as ondemand instance.
8.3: Try to use ALB instead of ELB as it can save some cost.
8.4: Remove Elastic IP if an instance is in stop state .
8.5: Compare your CPU and Memory requirement of given instance to developers and check if the resource is not utilized its better to downgrade that instances in order to save a lot.
8.6: Check your volume requirement with past month and check if there is an extra volume attached or larger volume attached which is not required so its better to reduce it in order to save a extra dollar.
9.Follow best practices for configuration of any instances ,provision or launch like making use of cloudformation, terraform, chef , ansible or puppet in order to launch anything with a single click.
Comments
Post a Comment