Any good example of a wordpress docker container using litespeed?
Any good example of a wordpress docker container using litespeed? I was looking for an example on GitHub, but I couldn't find anything. I could only find examples with nginx, but not litespeed.
https://redd.it/psyilj
@r_devops
Any good example of a wordpress docker container using litespeed? I was looking for an example on GitHub, but I couldn't find anything. I could only find examples with nginx, but not litespeed.
https://redd.it/psyilj
@r_devops
reddit
Any good example of a wordpress docker container using litespeed?
Any good example of a wordpress docker container using litespeed? I was looking for an example on GitHub, but I couldn't find anything. I could...
CI for a file inside a docker container
I have a Machine Learning app inside a docker container and is behind a nginx reverse proxy. Occasionally I'll need to retrain my model and re upload the file (\~100mb) to a host. Is there a way to do this efficiently? Right now I have change my image, re-push it to docker hub, stop the containers, pull the new image, and then finally restart the containers.
​
This is what my docker-compose.yml looks like
https://redd.it/pswt7b
@r_devops
I have a Machine Learning app inside a docker container and is behind a nginx reverse proxy. Occasionally I'll need to retrain my model and re upload the file (\~100mb) to a host. Is there a way to do this efficiently? Right now I have change my image, re-push it to docker hub, stop the containers, pull the new image, and then finally restart the containers.
​
This is what my docker-compose.yml looks like
`
version: '2'
services:
some-ml-app:
image: username/image
environment:
VIRTUAL_HOST: something.com
LETSENCRYPT_HOST: something.com
LETSENCRYPT_EMAIL: [email protected]
nginx-proxy:
image: jwilder/nginx-proxy
ports:
- "80:80"
- "443:443"
volumes:
- "/etc/nginx/vhost.d"
- "./limit.conf:/etc/nginx/conf.d/limit.conf:ro"
- "/usr/share/nginx/html"
- "/var/run/docker.sock:/tmp/docker.sock:ro"
- "/etc/nginx/certs"
letsencrypt-nginx-proxy-companion:
image: jrcs/letsencrypt-nginx-proxy-companion
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
volumes_from:
- "nginx-proxy"
https://redd.it/pswt7b
@r_devops
reddit
CI for a file inside a docker container
I have a Machine Learning app inside a docker container and is behind a nginx reverse proxy. Occasionally I'll need to retrain my model and re...
VPN between AWS, DC and HQ
We are looking to replace our current VPN solution. Right now we have a Sophos network appliance in our datacenter handling the VPN for home users and have site 2 site connections between that, our AWS networks and our headquarters.
Since we're looking at slowly phasing out our datacenter we want to move the VPN to AWS. We started looking into AWS's Client VPN service and that works great and even hooks up with Google apps for authentication, which we already heavily use as a company. Problem is since this charges per user connection per hour the estimated monthly cost does not sit well with our boss.
So what alternatives are there? One is setting an openvpn server in an EC2 instance but that's very cumbersome for user management. Generating and revoking certificates is a big PITA in my experience. To my understanding there's no way to delegate authentication to Google with that right? Is there any other free software for VPN apart from openvpn we could look into?
https://redd.it/psgu37
@r_devops
We are looking to replace our current VPN solution. Right now we have a Sophos network appliance in our datacenter handling the VPN for home users and have site 2 site connections between that, our AWS networks and our headquarters.
Since we're looking at slowly phasing out our datacenter we want to move the VPN to AWS. We started looking into AWS's Client VPN service and that works great and even hooks up with Google apps for authentication, which we already heavily use as a company. Problem is since this charges per user connection per hour the estimated monthly cost does not sit well with our boss.
So what alternatives are there? One is setting an openvpn server in an EC2 instance but that's very cumbersome for user management. Generating and revoking certificates is a big PITA in my experience. To my understanding there's no way to delegate authentication to Google with that right? Is there any other free software for VPN apart from openvpn we could look into?
https://redd.it/psgu37
@r_devops
reddit
VPN between AWS, DC and HQ
We are looking to replace our current VPN solution. Right now we have a Sophos network appliance in our datacenter handling the VPN for home users...
DevOps and Change Mgmt
Our organization is slowly but surely moving into a DevOps world. In the existing ITIL base service delivery world we have an established and mature (bureaucratic) Change Mgmt process.
We are facing more and more changes from the DevOps side especially more Infrastructure as Code.
How best to handle change from the DevOps side without introducing antipatterns and such?
https://redd.it/pt6yyf
@r_devops
Our organization is slowly but surely moving into a DevOps world. In the existing ITIL base service delivery world we have an established and mature (bureaucratic) Change Mgmt process.
We are facing more and more changes from the DevOps side especially more Infrastructure as Code.
How best to handle change from the DevOps side without introducing antipatterns and such?
https://redd.it/pt6yyf
@r_devops
reddit
DevOps and Change Mgmt
Our organization is slowly but surely moving into a DevOps world. In the existing ITIL base service delivery world we have an established and...
We analysed 30 job postings to understand what is expected from SRE role.
Hey, this is Kaushik from Spike.sh.
We worked on a fun project. The role of SRE has been in discussion for years but expectations still seem slightly mystical depending on every org's functions.
So, we took SRE job postings from Google, Twilio, Instacart, Gitlab, Spotify and more to understand some key expectations.
​
Here is an interesting figure from our article:
>Build tools and automations (56% of job descriptions)
Only 56% of job descriptions talk about managing build tools and automations. I personally find this kinda shocking. Shouldn't this be in ALL job postings?
Do read and let me know what you think. We have some ideas on digging into more details about SRE, DevOps and more roles, that is if the community finds it useful !
https://spike.sh/blog/sre-role-2021-analysed-30-job-postings/
https://redd.it/pt7zd0
@r_devops
Hey, this is Kaushik from Spike.sh.
We worked on a fun project. The role of SRE has been in discussion for years but expectations still seem slightly mystical depending on every org's functions.
So, we took SRE job postings from Google, Twilio, Instacart, Gitlab, Spotify and more to understand some key expectations.
​
Here is an interesting figure from our article:
>Build tools and automations (56% of job descriptions)
Only 56% of job descriptions talk about managing build tools and automations. I personally find this kinda shocking. Shouldn't this be in ALL job postings?
Do read and let me know what you think. We have some ideas on digging into more details about SRE, DevOps and more roles, that is if the community finds it useful !
https://spike.sh/blog/sre-role-2021-analysed-30-job-postings/
https://redd.it/pt7zd0
@r_devops
spike.sh
Simple incident response with unlimited alerts, automated escalations, and on-call
Proactive Incident Response with Unlimited Alerts, Oncall Schedules, and Beautiful Status Pages
Training Plan For Devops.
As a team in our organization, we are new to devops and i am try to come up with a training plan for folks joining the team. You can expect that these new folks are new to devops and don't have much experience. Is there a training plan for devops?. Few things i can think off are
AWS, GCP, Azure, python, shell-scripting, terraform, jenkins, messaging technologies, docker, containers.
Are there any other things
​
Also, is there any links that you would recommend to above technologies. Udemy is also fine.
https://redd.it/psc1f1
@r_devops
As a team in our organization, we are new to devops and i am try to come up with a training plan for folks joining the team. You can expect that these new folks are new to devops and don't have much experience. Is there a training plan for devops?. Few things i can think off are
AWS, GCP, Azure, python, shell-scripting, terraform, jenkins, messaging technologies, docker, containers.
Are there any other things
​
Also, is there any links that you would recommend to above technologies. Udemy is also fine.
https://redd.it/psc1f1
@r_devops
reddit
Training Plan For Devops.
As a team in our organization, we are new to devops and i am try to come up with a training plan for folks joining the team. You can expect that...
Incite - Golang Library to write pretty Cloudwatch Log Insights queries
This one looks like a nice library to write pretty golang code to get Cloudwatch Log Insights queries.
https://github.com/gogama/incite
Anybody tried this yet? It takes care of streaming, polling, chunking, previewing and also has optional logging support.
https://redd.it/ptb52s
@r_devops
This one looks like a nice library to write pretty golang code to get Cloudwatch Log Insights queries.
https://github.com/gogama/incite
Anybody tried this yet? It takes care of streaming, polling, chunking, previewing and also has optional logging support.
https://redd.it/ptb52s
@r_devops
GitHub
GitHub - gogama/incite: Hassle-free queries on Amazon CloudWatch Logs Insights in Go
Hassle-free queries on Amazon CloudWatch Logs Insights in Go - gogama/incite
Distributed Load Testing Using Fargate | Open-Source AWS
Hacktober is right around the corner so i finally decided to make a series for working on Open-source projects. Would love any feedback good or bad.
https://youtu.be/LXKavTaeo4E
https://redd.it/pta7zb
@r_devops
Hacktober is right around the corner so i finally decided to make a series for working on Open-source projects. Would love any feedback good or bad.
https://youtu.be/LXKavTaeo4E
https://redd.it/pta7zb
@r_devops
YouTube
Distributed Load Testing Using Fargate | Open-Source AWS
This is a brand new series designed to help people get started in open-source software or anybody interested in DevOps and wanting to learn more about AWS and serverless architecture.
will be working from https://github.com/awslabs/distributed-load-testing…
will be working from https://github.com/awslabs/distributed-load-testing…
k8s exposing multiple ports on the same domain name
I know that exposing multiple ports over the same domain name on k8s nginx ingress contorller is not possible. Any ideas for a good approach to accomplish this ?
example:
example.com:80 goes to service A and example.com:8000 goes to service B
https://redd.it/ptdh4z
@r_devops
I know that exposing multiple ports over the same domain name on k8s nginx ingress contorller is not possible. Any ideas for a good approach to accomplish this ?
example:
example.com:80 goes to service A and example.com:8000 goes to service B
https://redd.it/ptdh4z
@r_devops
reddit
k8s exposing multiple ports on the same domain name
I know that exposing multiple ports over the same domain name on k8s nginx ingress contorller is not possible. Any ideas for a good approach to...
App Deployment: CLI vs. Web UI?
I'm building a tool to deploy web applications to the cloud, and I'm wondering whether I should focus on building a CLI or web UI to manage and debug the apps. I would appreciate some feedback on what you enjoy using most!
https://redd.it/ptdtqb
@r_devops
I'm building a tool to deploy web applications to the cloud, and I'm wondering whether I should focus on building a CLI or web UI to manage and debug the apps. I would appreciate some feedback on what you enjoy using most!
https://redd.it/ptdtqb
@r_devops
reddit
App Deployment: CLI vs. Web UI?
I'm building a tool to deploy web applications to the cloud, and I'm wondering whether I should focus on building a CLI or web UI to manage and...
learning on the job vs training
Hey all, I am new ish here. I started a sort of jr DevOps role a few years ago after about 20 years doing support and sys admin work. I always had an interest in DevOps but had none of the dev skills go get there. I transferred internally from a sr support position to a DevOps role so the interview did not have any code testing etc. Over the past few years I have gained a lot of skills and learned a lot of the tools of the trade, however none of it is deep knowledge. We are a Microsoft shop so 90% of what we do is in powershell and while that is an object-oriented language, it's not really used that much in the industry. I am really interested in Python but we don't use it in our team. I guess the question is, if I don't use a tool/language on a regular basis, how do I learn it and moreover how do I advance my career.?
https://redd.it/ptfzi8
@r_devops
Hey all, I am new ish here. I started a sort of jr DevOps role a few years ago after about 20 years doing support and sys admin work. I always had an interest in DevOps but had none of the dev skills go get there. I transferred internally from a sr support position to a DevOps role so the interview did not have any code testing etc. Over the past few years I have gained a lot of skills and learned a lot of the tools of the trade, however none of it is deep knowledge. We are a Microsoft shop so 90% of what we do is in powershell and while that is an object-oriented language, it's not really used that much in the industry. I am really interested in Python but we don't use it in our team. I guess the question is, if I don't use a tool/language on a regular basis, how do I learn it and moreover how do I advance my career.?
https://redd.it/ptfzi8
@r_devops
reddit
learning on the job vs training
Hey all, I am new ish here. I started a sort of jr DevOps role a few years ago after about 20 years doing support and sys admin work. I always had...
Where do people host internal jobs?
I've run into situations where a job or script is needed by non-technical team members. These scripts might be as simple as one or two API calls to our backend, a SQL query, or a monthly report generator. Typically, we tell these folks to make the calls from Postman or have a Jenkins job they can input a few params into and run (we usually want to keep it simple and avoid building UI's). However, it feels weird giving this much access.
Has anyone else run into this problem? I'm wondering if there's any better solutions out there.
https://redd.it/ptdgpl
@r_devops
I've run into situations where a job or script is needed by non-technical team members. These scripts might be as simple as one or two API calls to our backend, a SQL query, or a monthly report generator. Typically, we tell these folks to make the calls from Postman or have a Jenkins job they can input a few params into and run (we usually want to keep it simple and avoid building UI's). However, it feels weird giving this much access.
Has anyone else run into this problem? I'm wondering if there's any better solutions out there.
https://redd.it/ptdgpl
@r_devops
reddit
Where do people host internal jobs?
I've run into situations where a job or script is needed by non-technical team members. These scripts might be as simple as one or two API calls...
What do you, as a DevOps, use for infra downtime prevention, APM, and log management?
Hello all!
I'm new to the DevOps world and want to understand what solutions are worth relying on when the thing comes down to anomalies tracking, log analyzing, APM, alerting.
I had an experience with Zabbix, Datadog, InsightCat. You've probably heard about them. According to my colleagues, these solutions are the leaders. Also, we don't forget about ELK stack, obviously :)
I would appreciate your help. Thank you!
https://redd.it/pt4juj
@r_devops
Hello all!
I'm new to the DevOps world and want to understand what solutions are worth relying on when the thing comes down to anomalies tracking, log analyzing, APM, alerting.
I had an experience with Zabbix, Datadog, InsightCat. You've probably heard about them. According to my colleagues, these solutions are the leaders. Also, we don't forget about ELK stack, obviously :)
I would appreciate your help. Thank you!
https://redd.it/pt4juj
@r_devops
reddit
What do you, as a DevOps, use for infra downtime prevention, APM,...
Hello all! I'm new to the DevOps world and want to understand what solutions are worth relying on when the thing comes down to anomalies...
What is DevOps Life Cycle?
DevOps practice that aims at merging development, quality assurance, and operations (deployment and integration) into a single, continuous set of processes.
DevOps roles include development, IT, operations, security, and support.
DevOps is an approach to culture, automation, and platform design intended to deliver increased business value and responsiveness through rapid, high-quality service delivery.
DevOps is complementary with Agile software development; several DevOps aspects came from the Agile methodology.
📷
Plan: Requirements and feedback are gathered from stakeholders and customers and it is used to build a product roadmap to guide future development.
Code: Involve software designs to writing code, designing infrastructure, automating processes, defining tests, and implementing security.
Build: The Build phase is where DevOps really kicks in. Once a developer has finished a task, they commit their code to a shared code repository.
Test: This phase Involves continuous testing (manual or automated) to ensure optimal code quality.
Release: The Release phase is a milestone in a DevOps pipeline — it is the point at which we say a build is ready for deployment into the production environment.
Deploy: The build is ready for its release into production. There are several tools & processes to automate the release & to make it reliable with no outage window.
Operate: The operations team makes sure that everything runs perfectly. The environment scales automatically based on hosting service configuration.
Monitor: In this phase, monitoring, identifying, and collecting information about issues from a specific software release in production is taken care of.
https://redd.it/pt5m4n
@r_devops
DevOps practice that aims at merging development, quality assurance, and operations (deployment and integration) into a single, continuous set of processes.
DevOps roles include development, IT, operations, security, and support.
DevOps is an approach to culture, automation, and platform design intended to deliver increased business value and responsiveness through rapid, high-quality service delivery.
DevOps is complementary with Agile software development; several DevOps aspects came from the Agile methodology.
📷
Plan: Requirements and feedback are gathered from stakeholders and customers and it is used to build a product roadmap to guide future development.
Code: Involve software designs to writing code, designing infrastructure, automating processes, defining tests, and implementing security.
Build: The Build phase is where DevOps really kicks in. Once a developer has finished a task, they commit their code to a shared code repository.
Test: This phase Involves continuous testing (manual or automated) to ensure optimal code quality.
Release: The Release phase is a milestone in a DevOps pipeline — it is the point at which we say a build is ready for deployment into the production environment.
Deploy: The build is ready for its release into production. There are several tools & processes to automate the release & to make it reliable with no outage window.
Operate: The operations team makes sure that everything runs perfectly. The environment scales automatically based on hosting service configuration.
Monitor: In this phase, monitoring, identifying, and collecting information about issues from a specific software release in production is taken care of.
https://redd.it/pt5m4n
@r_devops
Tech Modernization
Azure DevOps Services and Solutions In UK | Top DevOps Consulting Company in London,UK
OptiSol is a Top leading Azure DevOps and solution providing company in UK. Our certified cloud enablers and DevOps consultants can assist in the transition via release orchestration, deployment automation, test automation, effective code configuration management…
The new "cat /etc/passwd" on developer machines is... ?
find . -name ".env" -exec cat {} \\;
https://redd.it/psqua2
@r_devops
find . -name ".env" -exec cat {} \\;
https://redd.it/psqua2
@r_devops
reddit
The new "cat /etc/passwd" on developer machines is... ?
find . -name ".env" -exec cat {} \\;
Do you have to find work in your team or someone assigns it to you?
I am in a weird position where my manager does not assign tasks to anyone. I am of an introverted nature and do not have the habit of latching on to tasks during sprint planning, which others seem to do.
When I don’t have many tasks, I ask other members if they need help with something, most of the times they don’t as already 2 people are working on one thing.
This is causing me to become depressed. I have been pairing with one teammate, but he manages to do things alone, so he doesn’t need my help. I already mentioned it to my manager and he mentioned that its okay, still keep working with him. I don’t want to upset my manager, but seems like he doesn’t think well of me, which is happening for the first time for me.
I could really use some perspective on this. I am planning to move to backend because of this, preparing on my own, not sure if the same happens there as well.
Thank you
https://redd.it/ptp86d
@r_devops
I am in a weird position where my manager does not assign tasks to anyone. I am of an introverted nature and do not have the habit of latching on to tasks during sprint planning, which others seem to do.
When I don’t have many tasks, I ask other members if they need help with something, most of the times they don’t as already 2 people are working on one thing.
This is causing me to become depressed. I have been pairing with one teammate, but he manages to do things alone, so he doesn’t need my help. I already mentioned it to my manager and he mentioned that its okay, still keep working with him. I don’t want to upset my manager, but seems like he doesn’t think well of me, which is happening for the first time for me.
I could really use some perspective on this. I am planning to move to backend because of this, preparing on my own, not sure if the same happens there as well.
Thank you
https://redd.it/ptp86d
@r_devops
reddit
Do you have to find work in your team or someone assigns it to you?
I am in a weird position where my manager does not assign tasks to anyone. I am of an introverted nature and do not have the habit of latching on...
Retry curl command in jenkins pipeline
I'm trying to run my integrationtests through Jenkins but I have trouble. My full step look like this:
sh 'docker-compose -f docker-compose.dev.yml up -d'
sh 'curl -sfv --connect-timeout 30 --retry 15 --retry-connrefused --retry-delay 2 https://127.0.0.1:8181/health'
sh './gradlew integration'
But when I call the curl command I get: Recv failure: Connection reset by peer
* Closing connection 0
If I run a sh 'sleep 30' before my curl it passes which added to the fact that it fails in around 5 seconds leads me to believe that it doesn't actually retry but reads the exit code from the first curl command.
My question is how can I either retry my curl or await my containers dynamically without a sleep or similar hardcoded solutions?
https://redd.it/ptqgt6
@r_devops
I'm trying to run my integrationtests through Jenkins but I have trouble. My full step look like this:
sh 'docker-compose -f docker-compose.dev.yml up -d'
sh 'curl -sfv --connect-timeout 30 --retry 15 --retry-connrefused --retry-delay 2 https://127.0.0.1:8181/health'
sh './gradlew integration'
But when I call the curl command I get: Recv failure: Connection reset by peer
* Closing connection 0
If I run a sh 'sleep 30' before my curl it passes which added to the fact that it fails in around 5 seconds leads me to believe that it doesn't actually retry but reads the exit code from the first curl command.
My question is how can I either retry my curl or await my containers dynamically without a sleep or similar hardcoded solutions?
https://redd.it/ptqgt6
@r_devops
reddit
Retry curl command in jenkins pipeline
I'm trying to run my integrationtests through Jenkins but I have trouble. My full step look like this: sh 'docker-compose -f...
A new voyage in the sea of observability
In the observability market, new tools based on open-source projects as well as commercial solutions are emerging and it can be difficult to understand differences and advantages. So if you want to learn more, check out this new article and find out why NexClipper is embarking on this exciting new voyage!
https://nexclipper.io/nexclipper-a-new-voyage-in-the-sea-of-observability/
https://redd.it/pto42a
@r_devops
In the observability market, new tools based on open-source projects as well as commercial solutions are emerging and it can be difficult to understand differences and advantages. So if you want to learn more, check out this new article and find out why NexClipper is embarking on this exciting new voyage!
https://nexclipper.io/nexclipper-a-new-voyage-in-the-sea-of-observability/
https://redd.it/pto42a
@r_devops
NexClipper
NexClipper - A new voyage in the sea of observability - NexClipper
In the observability market, fierce competition is taking place with the emergence of tools based on open-source projects as well as commercial solutions. So you may wonder - why does NexClipper want to enter this market?
Securing Serverless Applications with Critical Logging
In this article, how serverless architecture can benefit your application; graceful scaling, cost efficiency, and a fast production time are just some of the things you think of when talking about serverless.
But what about serverless security? What do I need to do to ensure my application is not prone to attacks?
Read here: https://towardsaws.com/securing-serverless-applications-with-critical-logging-2a2d0da8697d
https://redd.it/ptoznz
@r_devops
In this article, how serverless architecture can benefit your application; graceful scaling, cost efficiency, and a fast production time are just some of the things you think of when talking about serverless.
But what about serverless security? What do I need to do to ensure my application is not prone to attacks?
Read here: https://towardsaws.com/securing-serverless-applications-with-critical-logging-2a2d0da8697d
https://redd.it/ptoznz
@r_devops
Medium
Securing Serverless Applications with Critical Logging
We’ve seen time and again how serverless architecture can benefit your application; graceful scaling, cost efficiency, and a fast…
GITLAB CI/CD PROCESS NOT STARTING
Notes:
* CI/CD is already set up across all repos
* new repo is made following the same structure and has the correct .gitlab-ci.yml file
* runners are available
yet, after code is pushed, the pipeline doesn't start. It says the pipeline isn't setup... So i went to the settings page for it --> turned off CI/CD --> saved --> turned on CI/CD --> saved --> no luck
can anyone suggest next steps I can take? The CTO is away and i'm slowly learning this but have hit a roadblock
https://redd.it/ptxedx
@r_devops
Notes:
* CI/CD is already set up across all repos
* new repo is made following the same structure and has the correct .gitlab-ci.yml file
* runners are available
yet, after code is pushed, the pipeline doesn't start. It says the pipeline isn't setup... So i went to the settings page for it --> turned off CI/CD --> saved --> turned on CI/CD --> saved --> no luck
can anyone suggest next steps I can take? The CTO is away and i'm slowly learning this but have hit a roadblock
https://redd.it/ptxedx
@r_devops
reddit
GITLAB CI/CD PROCESS NOT STARTING
Notes: * CI/CD is already set up across all repos * new repo is made following the same structure and has the correct .gitlab-ci.yml file *...