Navigating the
Please open Telegram to view this post
VIEW IN TELEGRAM
In the world of cloud computing, infrastructure as code (IaC) plays a pivotal role in automating the deployment and management of resources. This blog post provides a step-by-step guide on creating a Two-Tier architecture on AWS using Terraform. We’ll explore the essential services involved, ensuring high availability, security, and scalability for hosting a static website.
Also, we are adopting a modular approach with enhanced security measures. The infrastructure is organized into dedicated modules, ensuring a scalable, maintainable, and secure deployment.
Please open Telegram to view this post
VIEW IN TELEGRAM
1.
terraform init: Initializes a working directory containing Terraform configuration files.2.
terraform plan: Generates an execution plan, outlining actions Terraform will take.3.
terraform apply: Applies the changes described in the Terraform configuration.4.
terraform destroy: Destroys all resources described in the Terraform configuration.5.
terraform validate: Checks the syntax and validity of Terraform configuration files.6.
terraform refresh: Updates the state file against real resources in the provider.7.
terraform output: Displays the output values from the Terraform state.8.
terraform state list: Lists resources within the Terraform state.9.
terraform show: Displays a human-readable output of the current state or a specific resource's state.10.
terraform import: Imports existing infrastructure into Terraform state.11.
terraform fmt: Rewrites Terraform configuration files to a canonical format.12.
terraform graph: Generates a visual representation of the Terraform dependency graph.13.
terraform providers: Prints a tree of the providers used in the configuration.14.
terraform workspace list: Lists available workspaces.15.
terraform workspace select: Switches to another existing workspace.16.
terraform workspace new: Creates a new workspace.17.
terraform workspace delete: Deletes an existing workspace.18.
terraform output: Retrieves output values from a module.19.
terraform state mv: Moves an item in the state.20.
terraform state pull: Pulls the state from a remote backend.21.
terraform state push: Pushes the state to a remote backend.22.
terraform state rm: Removes items from the state.23.
terraform taint: Manually marks a resource for recreation.24.
terraform untaint: Removes the 'tainted' state from a resource.25.
terraform login: Saves credentials for Terraform Cloud.26.
terraform logout: Removes credentials for Terraform Cloud.27.
terraform force-unlock: Releases a locked state.28.
terraform import: Imports existing infrastructure into your Terraform state.29.
terraform plan -out: Saves the generated plan to a file.30.
terraform apply -auto-approve: Automatically applies changes without requiring approval.31.
terraform apply -target=resource: Applies changes only to a specific resource.32.
terraform destroy -target=resource: Destroys a specific resource.33.
terraform apply -var="key=value": Sets a variable's value directly in the command line.34.
terraform apply -var-file=filename.tfvars: Specifies a file containing variable definitions.35.
terraform apply -var-file=filename.auto.tfvars: Automatically loads variables from a file.Please open Telegram to view this post
VIEW IN TELEGRAM
Unlock the Power of Automation with Ansible!
- The core of Ansible, a set of instructions to configure nodes.
- Written in YAML for simplicity and flexibility.
- a. Webserver
- b. Database server
- A framework that enriches Ansible.
- Provides a sleek GUI, reducing dependency on the 'cmd' window.
Please open Telegram to view this post
VIEW IN TELEGRAM
Jira: Agile project management tool aiding project management, workflows, and bug tracking.
Git: Open-source version control system facilitating collaboration and nonlinear workflows. GitHub extends its collaborative features.
Jenkins: Java-based, open-source tool supporting CI and CD with customizable workflows, easy installation, and numerous plugins.
Selenium: Open-source automated testing framework supporting web app automation across multiple browsers and OS.
Bamboo: Server-based tool tightly integrated with Jira, excelling in complex build plans and parallel testing.
Docker (container management): Packages and executes distributed apps, encouraging collaboration via Docker Hub.
Ansible (configuration management): Automates configuration management and infrastructure orchestration.
Jira Service Management: Centralizes feedback from diverse sources for improved communication.
Parlor: Engages with users to collect real-time contextual insights, integrating with various business tools.
Prometheus: Open-source performance monitoring database enabling robust reporting and visualization.
Opsgenie: Manages incidents, predicts and resolves service disruptions, integrates with various monitoring and communication tools, ensuring appropriate notifications and automated escalations for critical issues.
Please open Telegram to view this post
VIEW IN TELEGRAM
1707827431543.gif
1.5 MB
Please open Telegram to view this post
VIEW IN TELEGRAM
In the vast universe of Kubernetes, services play a pivotal role in how applications are exposed to the outside world. Understanding the differences between ClusterIP, LoadBalancer, and NodePort can be key to mastering your Kubernetes deployment strategy.
<NodeIP>:<NodePort>. It's like having a door on each server that leads directly to your app.Please open Telegram to view this post
VIEW IN TELEGRAM
DevOps engineers play a critical role in driving collaboration, automation, and efficiency across development and operations teams, ultimately enabling organizations to deliver high-quality software products and services more rapidly and reliably.
Please open Telegram to view this post
VIEW IN TELEGRAM
Follow
Please open Telegram to view this post
VIEW IN TELEGRAM
Embark on the journey of microservices development armed with these golden rules:
Please open Telegram to view this post
VIEW IN TELEGRAM
𝐄𝐫𝐫𝐨𝐫:
𝐒𝐨𝐥𝐮𝐭𝐢𝐨𝐧:
𝐄𝐫𝐫𝐨𝐫:
𝐒𝐨𝐥𝐮𝐭𝐢𝐨𝐧:
𝐄𝐫𝐫𝐨𝐫:
𝐒𝐨𝐥𝐮𝐭𝐢𝐨𝐧:
𝐄𝐫𝐫𝐨𝐫: A program won't run because it's missing dependencies.
𝐒𝐨𝐥𝐮𝐭𝐢𝐨𝐧: Use your package manager (e.g., apt, yum, dnf) to install the missing libraries or packages.
𝐄𝐫𝐫𝐨𝐫: Network connectivity problems, such as no internet connection.
𝐒𝐨𝐥𝐮𝐭𝐢𝐨𝐧: Check your network settings, restart the network service (𝐬𝐲𝐬𝐭𝐞𝐦𝐜𝐭𝐥 𝐫𝐞𝐬𝐭𝐚𝐫𝐭 𝐍𝐞𝐭𝐰𝐨𝐫𝐤𝐌𝐚𝐧𝐚𝐠𝐞𝐫), or troubleshoot using tools like 𝐩𝐢𝐧𝐠, 𝐢𝐟𝐜𝐨𝐧𝐟𝐢𝐠, 𝐚𝐧𝐝 𝐧𝐦𝐜𝐥𝐢.
𝐄𝐫𝐫𝐨𝐫: The filesystem reports errors, or you can't access files.
𝐒𝐨𝐥𝐮𝐭𝐢𝐨𝐧: Use filesystem repair tools like 𝐟𝐬𝐜𝐤 to fix errors.
𝐄𝐫𝐫𝐨𝐫: A process is stuck and not responding.
𝐒𝐨𝐥𝐮𝐭𝐢𝐨𝐧: Use the 𝐤𝐢𝐥𝐥 command to terminate the process.
𝐄𝐫𝐫𝐨𝐫: Your system is slow and unresponsive.
𝐒𝐨𝐥𝐮𝐭𝐢𝐨𝐧: Identify resource-hungry processes with commands like 𝐭𝐨𝐩 𝐨𝐫 𝐡𝐭𝐨𝐩, and consider adding more 𝐑𝐀𝐌 or upgrading your 𝐡𝐚𝐫𝐝𝐰𝐚𝐫𝐞.
𝐄𝐫𝐫𝐨𝐫: When you run out of available 𝐢𝐧𝐨𝐝𝐞𝐬 on a file system.
𝐒𝐨𝐥𝐮𝐭𝐢𝐨𝐧: Delete unnecessary files and directories or reformat the partition with a larger 𝐢𝐧𝐨𝐝𝐞 count.
𝐄𝐫𝐫𝐨𝐫:
𝐒𝐨𝐥𝐮𝐭𝐢𝐨𝐧: Review the command's syntax, consult the manual pages (use 𝐦𝐚𝐧), or check online resources for the correct usage.
𝐄𝐫𝐫𝐨𝐫:
𝐒𝐨𝐥𝐮𝐭𝐢𝐨𝐧:
Please open Telegram to view this post
VIEW IN TELEGRAM
𝗧𝗼𝗽 𝟱𝟬 🐧 𝗟𝗶𝗻𝘂𝘅 𝗖𝗼𝗺𝗺𝗮𝗻𝗱𝘀 𝘆𝗼𝘂 𝗺𝘂𝘀𝘁 𝗸𝗻𝗼𝘄 🚀
Some of the collection of Linux commands to be aware as a person in tech.
🔵 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!!
Some of the collection of Linux commands to be aware as a person in tech.
Please open Telegram to view this post
VIEW IN TELEGRAM
1703823626915.gif
393 KB
Please open Telegram to view this post
VIEW IN TELEGRAM
The daily activities of a DevOps engineer can vary depending on the specific organization, project, and team structure.
However, here are some common tasks and responsibilities that DevOps engineers typically engage in on a day-to-day basis:
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Here are the most widely used tools in the industry along with their official documentation:
1. Git: https://git-scm.com/docs
2. GitHub: https://docs.github.com/en
3. Bitbucket: https://lnkd.in/dA2PcM_w
1. Service Now: https://lnkd.in/d69yubJF
2. Jira: https://lnkd.in/dD_WcXFQ
3. Trello: https://trello.com/guide
1. AWS: https://lnkd.in/dMa9XpMa
2. Azure: https://lnkd.in/dBsJtZHy
3. GCP: https://lnkd.in/d3hmN-Jr
1. Docker: https://docs.docker.com/
2. Kubernetes: https://lnkd.in/dZXfQEqW
3. Mesos: https://lnkd.in/dqzvzJhY
1. Terraform: https://lnkd.in/dM46h2_D
2. Octopus: https://octopus.com/docs
3. Heroku: https://lnkd.in/dCDuwvcj
1. Selenium: https://lnkd.in/dTnFN8bT
2. Cucumber: https://lnkd.in/dpmD4A9C
3. Postman: https://lnkd.in/d3xERi6c
1. Maven: https://lnkd.in/dfgBnrZj
2. Gradle: https://lnkd.in/dv6rQczZ
3. Ant: https://lnkd.in/dQgMsgef
1. Jenkins: https://lnkd.in/dPmA6-ff
2. TravisCI: https://lnkd.in/dxxFaK_X
3. Argo CD: https://lnkd.in/dK5eXbYi
1. Grafana: https://lnkd.in/dX5anVq9
2. Prometheus: https://lnkd.in/ddxjc9bV
Please open Telegram to view this post
VIEW IN TELEGRAM