Learning systems performance monitoring, alerting and tuning(web server, database)
https://www.reddit.com/r/devops/comments/11h343b/how\_to\_learn\_system\_performance\_as\_a\_beginner/
I was reading this question. And the suggestion was to selfhost. So, I purchased a domain name and started to self host my website.
I've now deployed my website to production and installed zabbix in it as well as netdata. Now, can anyone tell me what path should I take?
https://redd.it/1dayu92
@r_devops
https://www.reddit.com/r/devops/comments/11h343b/how\_to\_learn\_system\_performance\_as\_a\_beginner/
I was reading this question. And the suggestion was to selfhost. So, I purchased a domain name and started to self host my website.
I've now deployed my website to production and installed zabbix in it as well as netdata. Now, can anyone tell me what path should I take?
https://redd.it/1dayu92
@r_devops
Reddit
From the devops community on Reddit
Explore this post and more from the devops community
Looking for a git visualiser/simulator
My team is currently looking at improving our git strategy. I'm our only DevOps Engineer so it's mostly fallen to me but I'm also pretty inexperienced. So want to use this oppurtunity to get familiar with different strategies etc. I've been reading up on popular ones but also just want to mess around and gain a better understanding of things
Is there a git simulator out there that will let me test things at scale? Maybe something that will let me choose or implement a strategy, add "devs" and then simulates a couple months or something?
https://redd.it/1db1vwr
@r_devops
My team is currently looking at improving our git strategy. I'm our only DevOps Engineer so it's mostly fallen to me but I'm also pretty inexperienced. So want to use this oppurtunity to get familiar with different strategies etc. I've been reading up on popular ones but also just want to mess around and gain a better understanding of things
Is there a git simulator out there that will let me test things at scale? Maybe something that will let me choose or implement a strategy, add "devs" and then simulates a couple months or something?
https://redd.it/1db1vwr
@r_devops
Reddit
From the devops community on Reddit
Explore this post and more from the devops community
Join the Microsoft Azure Fundamentals Challenge
๐ Microsoft Azure Fundamentals Challenge ๐น
The challenge has begun! Join now and unlock the power of Microsoft Azure AI resources for your future projects. The learning adventure continues until June 16th! ๐๐
It will be an incentive-driven competition, where participants who rank highest on the leaderboard will qualify.
๐ Perks Await You:
๐ LinkedIn Premium Voucher (12 months)
๐ Certificates of Achievement
๐ Exclusive Badge
๐ Registration Form:
Please take a moment to fill out this form and incentives will be sent to the email you provide. The email should be you given one for the event registration.
https://forms.office.com/r/Ki1uwJS4yM
๐ Challenge Link:
https://learn.microsoft.com/en-us/training/challenges?id=8d3f19e5-612e-4cb9-ad8e-5eccd2ce68ba&WT.mc\_id=cloudskillschallenge\_8d3f19e5-612e-4cb9-ad8e-5eccd2ce68ba&wt.mc\_id=studentamb\_209465
๐ Don't miss out on this incredible opportunity to learn and earn fantastic rewards! ๐๐ป
#Sweepstakes #Azure #Microsoft
https://redd.it/1db6fdn
@r_devops
๐ Microsoft Azure Fundamentals Challenge ๐น
The challenge has begun! Join now and unlock the power of Microsoft Azure AI resources for your future projects. The learning adventure continues until June 16th! ๐๐
It will be an incentive-driven competition, where participants who rank highest on the leaderboard will qualify.
๐ Perks Await You:
๐ LinkedIn Premium Voucher (12 months)
๐ Certificates of Achievement
๐ Exclusive Badge
๐ Registration Form:
Please take a moment to fill out this form and incentives will be sent to the email you provide. The email should be you given one for the event registration.
https://forms.office.com/r/Ki1uwJS4yM
๐ Challenge Link:
https://learn.microsoft.com/en-us/training/challenges?id=8d3f19e5-612e-4cb9-ad8e-5eccd2ce68ba&WT.mc\_id=cloudskillschallenge\_8d3f19e5-612e-4cb9-ad8e-5eccd2ce68ba&wt.mc\_id=studentamb\_209465
๐ Don't miss out on this incredible opportunity to learn and earn fantastic rewards! ๐๐ป
#Sweepstakes #Azure #Microsoft
https://redd.it/1db6fdn
@r_devops
Office
Please fill out this form
Industries that hire DevOps Engineers
It doesnโt seem like all industries have DevOps positions. They seem more prominent where software tends to be the primary product, which I can understand. What other industries hire DevOps? And if a company doesnโt use that terminology, what are some other terminologies they use, besides Cloud Engineer (which I understand is a different role)?
https://redd.it/1db6wck
@r_devops
It doesnโt seem like all industries have DevOps positions. They seem more prominent where software tends to be the primary product, which I can understand. What other industries hire DevOps? And if a company doesnโt use that terminology, what are some other terminologies they use, besides Cloud Engineer (which I understand is a different role)?
https://redd.it/1db6wck
@r_devops
Reddit
From the devops community on Reddit
Explore this post and more from the devops community
Reducing "All Hands on Deck" Incident Culture
I work at a company that tends to have an "all hands on deck" incident culture, very similar to this post from r/sysadmin. My team owns an application networking infrastructure platform that has internal developer teams as our customers.
We have built our platform to be almost completely self-service to developer teams, including providing telemetry tools (logs, metrics, traces) that developers can use to troubleshoot problems that pass through our platform.
However, our team has noticed a pattern during incidents where a developer team and/or their leadership will pull our team into incident troubleshooting meetings if our platform is involved at all in the impacted business/application flow (ex: Client -> Platform 1 -> App 1 -> Our platform -> App 2).
As a result of this, our team has become more efficient on ruling out our platform from the problem (using the same self service telemetry tools mentioned before). For 95+% of incidents, our platform is not the problem and it ends up being an issue with another developer teams application. This efficiency has saved us a lot of time and avoided blame for incidents, but the constant pull for our team still adds up and results in a lot of wasted time on these incident meetings.
From a business perspective, leadership wants us involved whenever possible to reduce business impact and MTTD/MTTR. We are struggling to find a way to change the organizational culture where developers will use our self service tools to troubleshoot incidents rather than relying on us to interpret the telemetry for them.
Have you all had similar experiences at your companies as platform owners? If so, how did you improve this culture so that your team reduces toil and gets more time to work on platform improvements/features?
https://redd.it/1db8ynx
@r_devops
I work at a company that tends to have an "all hands on deck" incident culture, very similar to this post from r/sysadmin. My team owns an application networking infrastructure platform that has internal developer teams as our customers.
We have built our platform to be almost completely self-service to developer teams, including providing telemetry tools (logs, metrics, traces) that developers can use to troubleshoot problems that pass through our platform.
However, our team has noticed a pattern during incidents where a developer team and/or their leadership will pull our team into incident troubleshooting meetings if our platform is involved at all in the impacted business/application flow (ex: Client -> Platform 1 -> App 1 -> Our platform -> App 2).
As a result of this, our team has become more efficient on ruling out our platform from the problem (using the same self service telemetry tools mentioned before). For 95+% of incidents, our platform is not the problem and it ends up being an issue with another developer teams application. This efficiency has saved us a lot of time and avoided blame for incidents, but the constant pull for our team still adds up and results in a lot of wasted time on these incident meetings.
From a business perspective, leadership wants us involved whenever possible to reduce business impact and MTTD/MTTR. We are struggling to find a way to change the organizational culture where developers will use our self service tools to troubleshoot incidents rather than relying on us to interpret the telemetry for them.
Have you all had similar experiences at your companies as platform owners? If so, how did you improve this culture so that your team reduces toil and gets more time to work on platform improvements/features?
https://redd.it/1db8ynx
@r_devops
Reddit
From the sysadmin community on Reddit
Explore this post and more from the sysadmin community
Had an interview for this "Optical Network Engineer" role. Was told I will automate a lot of physical and network infrastructure. Is this a good position if I want to get into DevOps?
This is from a multinational company that is big in the mobile and telecommunications industry. I was asked a lot of questions regarding linux, algorithms, python, databases and AWS. However, they spent 30mins more than my scheduled interview time and had another candidate waiting so they had to end the interview. Howver, they said we'd do another one later. I didn't have time to ask about what my day-to-day would look like. So now I wanted to ask if a role like this would be good for a DevOps career? Or if I should look elsewhere
Responsibilites
> Perform OS/NMS installations, upgrades, migrations, and network transformations.
> Perform Lab testing, Field Trials, DryRun, Proof of Concepts, Preliminary Acceptance Tests, Customer Demos/Workshops.
> Define test cases based on customer specific scenarios and develop MOPs and test procedures.
> Extend and expand automation delivery footprint, also to develop scripts and tools to automate the manual and routine tasks.
> Perform extensive lab work, both in person and remotely.
Requirements:
> Bachelor's degree or higher in Computer Science and/or equivalent work experience in Telecommunications engineering discipline.
> Demonstrable skill in scripting and programming languages: e.g., Python, Java, JavaScript, and good knowledge in algorithms & Agile development processes and DevOps practices.
> Strong Linux/Unix shell networking knowledge, as well as, Cloud, Docker, OpenStack, Kubernetes, Databases, Containerized Applications, Microservices, etc.
> Willingness and desire to do hands-on lab work, and are careful and thorough, with attention to detail.
> Ability to work via own initiative, you have to be self-motivated with flexible, positive, and creative attitude. Also, you should have a strong communication, documentation, collaboration, and interpersonal & Team Skills.
>
>
https://redd.it/1dcmzlj
@r_devops
This is from a multinational company that is big in the mobile and telecommunications industry. I was asked a lot of questions regarding linux, algorithms, python, databases and AWS. However, they spent 30mins more than my scheduled interview time and had another candidate waiting so they had to end the interview. Howver, they said we'd do another one later. I didn't have time to ask about what my day-to-day would look like. So now I wanted to ask if a role like this would be good for a DevOps career? Or if I should look elsewhere
Responsibilites
> Perform OS/NMS installations, upgrades, migrations, and network transformations.
> Perform Lab testing, Field Trials, DryRun, Proof of Concepts, Preliminary Acceptance Tests, Customer Demos/Workshops.
> Define test cases based on customer specific scenarios and develop MOPs and test procedures.
> Extend and expand automation delivery footprint, also to develop scripts and tools to automate the manual and routine tasks.
> Perform extensive lab work, both in person and remotely.
Requirements:
> Bachelor's degree or higher in Computer Science and/or equivalent work experience in Telecommunications engineering discipline.
> Demonstrable skill in scripting and programming languages: e.g., Python, Java, JavaScript, and good knowledge in algorithms & Agile development processes and DevOps practices.
> Strong Linux/Unix shell networking knowledge, as well as, Cloud, Docker, OpenStack, Kubernetes, Databases, Containerized Applications, Microservices, etc.
> Willingness and desire to do hands-on lab work, and are careful and thorough, with attention to detail.
> Ability to work via own initiative, you have to be self-motivated with flexible, positive, and creative attitude. Also, you should have a strong communication, documentation, collaboration, and interpersonal & Team Skills.
>
>
https://redd.it/1dcmzlj
@r_devops
Reddit
From the devops community on Reddit
Explore this post and more from the devops community
How are you managing your s3 buckets?
Scenario, we have a couple hundred S3 buckets to manage and find using cloudformation a bit of a pain.
I was wondering if anyone has any alternative suggestions, looking into terraform and open tofu at the moment.
https://redd.it/1dcj4y6
@r_devops
Scenario, we have a couple hundred S3 buckets to manage and find using cloudformation a bit of a pain.
I was wondering if anyone has any alternative suggestions, looking into terraform and open tofu at the moment.
https://redd.it/1dcj4y6
@r_devops
Reddit
From the devops community on Reddit
Explore this post and more from the devops community
ChatGPT/Groq/LLM in your terminal?
I'm working on an open source project called SheLLM, which is still pretty experimental. It adds ChatGPT or Groq (self-hosted LLMs coming soon) to your terminal, enabling them to execute commands (after approval), explain your terminal's context, and more.
The reason I started this project is that I often forget many parameters (especially positional ones) for various tools, so I find it really helpful. It can also write snippets, which I use daily, as my aliases and functions have become quite extensive.
Being in the DevOps world, my questions to you are:
1. As DevOps professionals, what are your biggest pains when using a standard terminal?
2. Do you think having "template"-like workflows in your terminal would make your life easier (not scripts with strictly defined and hard-coded variables, but more flexible automation)?
3. Do you often expose secrets/PII/other sensitive data in your terminal, or do you edit it in a safer way?
4. How do you think an LLM can help you in the terminal?
5. How frequently do you use aliases and functions in your terminal, and do you find them becoming unmanageable?
6. Are there specific commands or tools where you frequently forget the syntax or parameters?
7. How do you currently manage repetitive tasks or commands in your workflow?
Your feedback would be incredibly valuable for the development of SheLLM (maybe drop a star?). Thank you!
https://redd.it/1dcwk1r
@r_devops
I'm working on an open source project called SheLLM, which is still pretty experimental. It adds ChatGPT or Groq (self-hosted LLMs coming soon) to your terminal, enabling them to execute commands (after approval), explain your terminal's context, and more.
The reason I started this project is that I often forget many parameters (especially positional ones) for various tools, so I find it really helpful. It can also write snippets, which I use daily, as my aliases and functions have become quite extensive.
Being in the DevOps world, my questions to you are:
1. As DevOps professionals, what are your biggest pains when using a standard terminal?
2. Do you think having "template"-like workflows in your terminal would make your life easier (not scripts with strictly defined and hard-coded variables, but more flexible automation)?
3. Do you often expose secrets/PII/other sensitive data in your terminal, or do you edit it in a safer way?
4. How do you think an LLM can help you in the terminal?
5. How frequently do you use aliases and functions in your terminal, and do you find them becoming unmanageable?
6. Are there specific commands or tools where you frequently forget the syntax or parameters?
7. How do you currently manage repetitive tasks or commands in your workflow?
Your feedback would be incredibly valuable for the development of SheLLM (maybe drop a star?). Thank you!
https://redd.it/1dcwk1r
@r_devops
GitHub
GitHub - thereisnotime/SheLLM: Shell wrapper that integrates LLMs assistance right in your terminal
Shell wrapper that integrates LLMs assistance right in your terminal - thereisnotime/SheLLM
Platform engineering on Kubernetes
Iโve been designing and implementing cloud platforms for a few years and put together a blog describing tenants of good design https://piotrzan.medium.com/how-to-build-cloud-native-platforms-with-kubernetes-1f0901a63a04
https://redd.it/1dcukok
@r_devops
Iโve been designing and implementing cloud platforms for a few years and put together a blog describing tenants of good design https://piotrzan.medium.com/how-to-build-cloud-native-platforms-with-kubernetes-1f0901a63a04
https://redd.it/1dcukok
@r_devops
Medium
How to Build Cloud Native Platforms with Kubernetes
Developer Portals, GitOps, Best Practices
from Software engineer to Devops Engineer
Hello folks,
I'm a senior software engineer (8 years experience if we can consider this senior :p ) I work as a fullstack Software engineer mainly on web application ( java ,spring and React/Angular stacks) in my last project with my client I have to manipulate kubernetes to deploy the app in all the environments and I started thinking that I can add the devOps skills to my resume. The problem is now I am not sure what Certifications I need, I'm thinking doing CKA and moving to AWS certifications in order to get a DEVOPS job.
I'd love to hear your thoughts and recommandations about this.
Thanks a lot for your time.
https://redd.it/1dcfz03
@r_devops
Hello folks,
I'm a senior software engineer (8 years experience if we can consider this senior :p ) I work as a fullstack Software engineer mainly on web application ( java ,spring and React/Angular stacks) in my last project with my client I have to manipulate kubernetes to deploy the app in all the environments and I started thinking that I can add the devOps skills to my resume. The problem is now I am not sure what Certifications I need, I'm thinking doing CKA and moving to AWS certifications in order to get a DEVOPS job.
I'd love to hear your thoughts and recommandations about this.
Thanks a lot for your time.
https://redd.it/1dcfz03
@r_devops
Reddit
From the devops community on Reddit
Explore this post and more from the devops community
Struggling to get a single interview (USA)
I got laid off few months ago and since then been actively applying, soon I'll be out of all my savings. Really worried about things. There is a complete lack of response, normally your disappointment in job search would include some ghosting after interviews and some rejections but itโs radio silence this time around. I'm now even applying to local jobs that are asking for office/hybrid. The only thing I can think of is that maybe some hiring managers are turned off by me having no Linkedin? I have 3 years of experience and two proper engineering jobs under my belt.
I have also started to just look up companies and find their postings on their career websites in addition to indeed / LinkedIn but that didnโt help either.
Can someone please shed some light on the current state of things, is anyone getting hired? I think I'd be glad to hear someone got a job offer at this point because it would mean things aren't as bleak. Located in U.S.
https://redd.it/1dctdbe
@r_devops
I got laid off few months ago and since then been actively applying, soon I'll be out of all my savings. Really worried about things. There is a complete lack of response, normally your disappointment in job search would include some ghosting after interviews and some rejections but itโs radio silence this time around. I'm now even applying to local jobs that are asking for office/hybrid. The only thing I can think of is that maybe some hiring managers are turned off by me having no Linkedin? I have 3 years of experience and two proper engineering jobs under my belt.
I have also started to just look up companies and find their postings on their career websites in addition to indeed / LinkedIn but that didnโt help either.
Can someone please shed some light on the current state of things, is anyone getting hired? I think I'd be glad to hear someone got a job offer at this point because it would mean things aren't as bleak. Located in U.S.
https://redd.it/1dctdbe
@r_devops
Reddit
From the devops community on Reddit
Explore this post and more from the devops community
Optimizing log management with AWS OpenSearch at Chase UK
Hey everyone!
Eugene Tolbakov from Chase UK gave an interesting talk about effectively implementing and managing AWS OpenSearch clusters at the last London Observability Engineering Meetup.
I thought some of you might find this interesting.
You can find the recording here: https://youtu.be/NWrrqRmDa20?si=-haj0rxpjI838JrP
Btw, if you're interested in Observability, make sure you join our Slack Community!
https://redd.it/1dctd8v
@r_devops
Hey everyone!
Eugene Tolbakov from Chase UK gave an interesting talk about effectively implementing and managing AWS OpenSearch clusters at the last London Observability Engineering Meetup.
I thought some of you might find this interesting.
You can find the recording here: https://youtu.be/NWrrqRmDa20?si=-haj0rxpjI838JrP
Btw, if you're interested in Observability, make sure you join our Slack Community!
https://redd.it/1dctd8v
@r_devops
YouTube
Optimizing log management with AWS OpenSearch at Chase UK
This talk explores the process undertaken by the Observability team at Chase UK to manage AWS OpenSearch clusters effectively. Utilizing Infrastructure as Code(Terraform), they have streamlined cluster management for efficiency and ease. Eugene elaboratesโฆ
Any Sys Admins Successfully Transitioned to DevOps? Share Your Journey!
Hi everyone,
I'm a systems administrator with a few years of experience under my belt, and I'm considering making the switch to a DevOps role. I'm curious to hear from anyone who has successfully made this transition.
- What motivated you to make the switch?
- What skills or knowledge gaps did you need to address?
- Did you pursue any specific certifications or training?
- How did you approach learning new tools and technologies?
- What challenges did you face during the transition, and how did you overcome them?
Any tips, resources, or personal stories would be greatly appreciated. Looking forward to hearing your experiences!
Thanks in advance!
https://redd.it/1dd2zos
@r_devops
Hi everyone,
I'm a systems administrator with a few years of experience under my belt, and I'm considering making the switch to a DevOps role. I'm curious to hear from anyone who has successfully made this transition.
- What motivated you to make the switch?
- What skills or knowledge gaps did you need to address?
- Did you pursue any specific certifications or training?
- How did you approach learning new tools and technologies?
- What challenges did you face during the transition, and how did you overcome them?
Any tips, resources, or personal stories would be greatly appreciated. Looking forward to hearing your experiences!
Thanks in advance!
https://redd.it/1dd2zos
@r_devops
Reddit
From the devops community on Reddit
Explore this post and more from the devops community
Datadog for product analytics?
Does anyone use Datadog RUM for product analytics?
Curious what people think of it vs more typical tools like Mixpanel?
https://redd.it/1dd2p6q
@r_devops
Does anyone use Datadog RUM for product analytics?
Curious what people think of it vs more typical tools like Mixpanel?
https://redd.it/1dd2p6q
@r_devops
Reddit
From the devops community on Reddit
Explore this post and more from the devops community
Differences Between Ansible and Jenkins
Hello everyone! ๐
I recently wrote an article comparing Ansible and Jenkins, two popular tools in DevOps. I've added my insights in an article that delves deep into their functionalities, use cases, and where each shines. Whether you're a seasoned DevOps engineer or just stepping into the realm, this comparison might offer some clarity. Check it out here: https://medium.com/@joyanderson1702/ansible-vs-jenkins-which-is-the-right-tool-for-devops-f984c7f33197
https://redd.it/1dd6a0x
@r_devops
Hello everyone! ๐
I recently wrote an article comparing Ansible and Jenkins, two popular tools in DevOps. I've added my insights in an article that delves deep into their functionalities, use cases, and where each shines. Whether you're a seasoned DevOps engineer or just stepping into the realm, this comparison might offer some clarity. Check it out here: https://medium.com/@joyanderson1702/ansible-vs-jenkins-which-is-the-right-tool-for-devops-f984c7f33197
https://redd.it/1dd6a0x
@r_devops
Medium
Ansible vs Jenkins: Which is the Right Tool for DevOps?
In the world of DevOps, where speed and efficiency are king, two tools are popular for building robust CI/CD pipelines: Jenkins andโฆ
SAST for Nodejs application
I have been on this project for 3 months and I know it's time to make some major contributions I have always wanted to push.
Note, my company is relatively stingy with money but I want to make sure the Nodejs app is kinda secure.
I wish for standalone server where we can test these frequently but I know they won't budge, which of the SAST tools for Nodejs are best to use and also can be incorporated into a GitHub Actions pipeline?
I saw NodeGoat but it seems too "heavy" to run.
https://redd.it/1dd8npe
@r_devops
I have been on this project for 3 months and I know it's time to make some major contributions I have always wanted to push.
Note, my company is relatively stingy with money but I want to make sure the Nodejs app is kinda secure.
I wish for standalone server where we can test these frequently but I know they won't budge, which of the SAST tools for Nodejs are best to use and also can be incorporated into a GitHub Actions pipeline?
I saw NodeGoat but it seems too "heavy" to run.
https://redd.it/1dd8npe
@r_devops
Reddit
From the devops community on Reddit
Explore this post and more from the devops community
Any hard of hearing / hearing loss person doing DevOps?
I am hard of hearing myself. And deafness imposes many challenges as you may imagine. I am just curious if there are others here like me that are also hard of hearing or similar? What is your story? How did you get your hearing loss? How do you cope with your deafness in a daily routine?
I was born with hearing loss as far as I know. No explanation. In my case I would say that working remotely works much better for me. You have the silence and the accessibility of live captions. In the office is way more difficult.
https://redd.it/1dd8nla
@r_devops
I am hard of hearing myself. And deafness imposes many challenges as you may imagine. I am just curious if there are others here like me that are also hard of hearing or similar? What is your story? How did you get your hearing loss? How do you cope with your deafness in a daily routine?
I was born with hearing loss as far as I know. No explanation. In my case I would say that working remotely works much better for me. You have the silence and the accessibility of live captions. In the office is way more difficult.
https://redd.it/1dd8nla
@r_devops
Reddit
From the devops community on Reddit
Explore this post and more from the devops community
Devops as a felon
Has anyone in here seen any felons (white collar crime) land a job? Looking to switch from a mid tier management job in construction, my uncle is a devops engineer in govt sector and will basically be my pocket tutor while I lock in the skills necessary to do the job but Iโm concerned my past will hold me back.
https://redd.it/1ddag04
@r_devops
Has anyone in here seen any felons (white collar crime) land a job? Looking to switch from a mid tier management job in construction, my uncle is a devops engineer in govt sector and will basically be my pocket tutor while I lock in the skills necessary to do the job but Iโm concerned my past will hold me back.
https://redd.it/1ddag04
@r_devops
Reddit
From the devops community on Reddit
Explore this post and more from the devops community
Jenkins Build Triggers on PR
Context: I have a Jenkins configuration that only triggers the build (and indexes the branch) when PR is created, but doing so also triggers the Jenkins build on the master branch. I tried looking into the env variable hoping I could find something there but there's no such thing that indicates if it's a PR or anything related to that.
How to only trigger builds on a master branch when PR is merged into it, not when PR is created from it?
https://redd.it/1ddbi9s
@r_devops
Context: I have a Jenkins configuration that only triggers the build (and indexes the branch) when PR is created, but doing so also triggers the Jenkins build on the master branch. I tried looking into the env variable hoping I could find something there but there's no such thing that indicates if it's a PR or anything related to that.
How to only trigger builds on a master branch when PR is merged into it, not when PR is created from it?
https://redd.it/1ddbi9s
@r_devops
Reddit
From the devops community on Reddit
Explore this post and more from the devops community
Is Every development Saturated?
So Guys, I am thinking to start Development from my first year but I have seen many post and videos about that Web development /full stack development is Saturated, I'll join tier 3 college and trying to get a product base company off campus so which development should I start first
Web development, App development, AI /ML,Data Science, Devops, Cloud computing, Block chain, game development? I'm really confused
https://redd.it/1ddaw04
@r_devops
So Guys, I am thinking to start Development from my first year but I have seen many post and videos about that Web development /full stack development is Saturated, I'll join tier 3 college and trying to get a product base company off campus so which development should I start first
Web development, App development, AI /ML,Data Science, Devops, Cloud computing, Block chain, game development? I'm really confused
https://redd.it/1ddaw04
@r_devops
Reddit
From the devops community on Reddit
Explore this post and more from the devops community
Run ansible via terraform
Is it a common practice. If yes, is it considered good practice as well. In my case I just create some EC-2 Instances:
And I made this playbook:
And I am in deep thoughts should I use terraform to execute it:
Or it may cause more trouble instead??? The goal it to have a single command where I setup a LEMP stack into a server.
https://redd.it/1ddefe4
@r_devops
Is it a common practice. If yes, is it considered good practice as well. In my case I just create some EC-2 Instances:
resource "aws_instance" "instance" {
ami=var.ami
instance_type="t3a.micro"
key_name = var.ssh_key
iam_instance_profile = aws_iam_instance_profile.ec2_profile.name
root_block_device {
volume_size = 30
volume_type = "gp3"
}
count = var.ec2_instance_num
vpc_security_group_ids=var.ec2_security_groups
provisioner "file" {
source = "${path.module}/provision.sh"
destination = "/home/ubuntu/provision.sh"
}
provisioner "remote-exec" {
inline = [
"chmod +x /home/ubuntu/provision.sh",
local.final_provision_command
]
}
connection {
type = "ssh"
user = "ubuntu"
private_key = "${file(var.private_key_path)}"
host = self.public_ip
}
}
And I made this playbook:
---
- name: Configure MariaDB
become: yes
hosts: my_hosts
vars_files:
- "{{ lookup('env', 'ANSIBLE_DB_SECRETS') }}"
pre_tasks:
- name: Ensure MariaDB is installed
apt:
name: "{{ item }}"
state: present
loop:
- mariadb-server
- mariadb-client
- name: Ensure MariaDB is running
service:
name: mariadb
state: started
enabled: true
tasks:
- name: Secure MariaDB installation
shell: |
mysql -e "UPDATE mysql.user SET Password = PASSWORD('{{ db_credentials.db_root_password }}') WHERE User = 'root'"
mysql -e "DROP USER ''@'localhost'"
mysql -e "DROP USER ''@'$(hostname)'"
mysql -e "DROP DATABASE IF EXISTS test"
mysql -e "FLUSH PRIVILEGES"
args:
executable: /bin/bash
no_log: true
- name: Create database
shell: >
mysql -u root -p'{{ db_credentials.db_root_password }}' -e "CREATE DATABASE IF NOT EXISTS {{ db_credentials.db_name }};"
no_log: true
- name: Create database user
shell: >
mysql -u root -p'{{ db_credentials.db_root_password }}' -e "CREATE USER IF NOT EXISTS '{{ db_credentials.db_user }}'@'%' IDENTIFIED BY '{{ db_credentials.db_user_password }}'; GRANT ALL PRIVILEGES ON {{ db_credentials.db_name }}.* TO '{{ db_credentials.db_user }}'@'%'; FLUSH PRIVILEGES;"
no_log: true
And I am in deep thoughts should I use terraform to execute it:
resource "local_file" "ansible_inventory" {
count = local.has_db_conf?1:0
content = <<EOF
[aws_instances]
%{ for ip in aws_instance.instance[*].public_ip ~}
${ip}
%{ endfor ~}
EOF
filename = "${path.module}/ansible_inventory.ini"
depends_on = [ aws_instance.instance ]
}
resource "null_resource" "ansible_provision" {
count = local.has_db_conf?var.ec2_instance_num:0
provisioner "local-exec" {
command = "ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -i ${path.module}/ansible_inventory.ini, -u ubuntu --private-key ${var.private_key_path} ${path.module}/provision_db.yaml"
}
depends_on = [local_file.ansible_inventory]
}
Or it may cause more trouble instead??? The goal it to have a single command where I setup a LEMP stack into a server.
https://redd.it/1ddefe4
@r_devops
Reddit
From the devops community on Reddit
Explore this post and more from the devops community