Forward site traffic to nginx docker
Hey all new to Docker here!
I have a scenario where I want to type in a domain name and have that go to my docker container which is running nginx and then have nginx serve up the web app. I need to use this as a test case for another platform I work on because I need url's to resolve properly with server configs. So for example www.mysite.com should go to nginx in my docker container. Wondering if this is possible? Thanks
https://redd.it/gbyrgm
@r_devops
Hey all new to Docker here!
I have a scenario where I want to type in a domain name and have that go to my docker container which is running nginx and then have nginx serve up the web app. I need to use this as a test case for another platform I work on because I need url's to resolve properly with server configs. So for example www.mysite.com should go to nginx in my docker container. Wondering if this is possible? Thanks
https://redd.it/gbyrgm
@r_devops
reddit
r/devops - Forward site traffic to nginx docker
2 votes and 0 comments so far on Reddit
DevOps job market and lifestyle in different international cities
I wanted to get your opinion on the city you live in:
* How easy is to find a DevOps Role?
* How enjoyable is the city you live in? Socially and otherwise
* What's an average salary in your city and how does it compare with how expensive everything is? In other words, what's your standard of life like there?
I live in London and while I don't hate it here, I am a little tired of it so I was considering other cities like Berlin, Madrid, HK, Zurich, Tokyo, San Francisco... which is why I would love to hear from you, especially if you have also lived in London and can compare it.
I will share my experience of London first, in case you are thinking of moving here:
In London there is an insane amount of work in DevOps, if you have a little experience and you convey yourself well in interviews you can get a job in a couple of weeks or even less. My LinkedIn is continuously buzzing with recruiters approaching me with opportunities, which admittedly some of them may be a bit crappy or a dead end, but many of them will land you an interview. If I put my CV in monster or any of these job search sites it gets even crazier; I get completely overloaded with recruiter calls and companies offering me jobs to interview for. I counted about 35 calls in a day once. This is not a testament of me being amazing or having the best CV in the world, it reflects the experience of many people who work here in DevOps type of roles.
I heard many engineers complain about recruiters being misleading and wasting your time, and I can agree with much of that but generally I think this is a good problem to have. It's good to have plenty of options and never have to stress about ever finding a job, even if not all jobs are dream jobs.
So in that sense London is great, however in terms of quality of life is another story. The pay in London isn't bad (the average is somewhere between 45 to 75K pounds, but when you consider how insanely expensive housing and transportation is, it's not such a great deal to live here. Even making a decent 65 or 70K a year, you can easily spend half of what you make after taxes in rent and related expenses if you don't want to live a million miles away from work or in a miserable flat, or have flatmates.
Also, even though there is a lot to do in London, I am not a big fan of the social dynamics in this city. For example when I worked in Madrid for a short contract people would constantly invite me out to hang out, to weekend parties and such, it just felt much more natural. For example when they asked "How are you?" it was a genuine question, not like the mechanical version you get in London. In London socialising always feels really forced, downing pints with colleagues after work and then go home. Almost every office I worked at always feels very impersonal too (saying hi to people in the kitchen often feels like nodding someone you met once on the street), after many years here I don't feel I have made many meaningful relationships in this place, but this may be entirely my opinion and experience on London.
So in a nutshell, London is great for work and career development, for quality of life is below average.
Would love to hear your opinions and experiences in this of other cities!
https://redd.it/gctdu7
@r_devops
I wanted to get your opinion on the city you live in:
* How easy is to find a DevOps Role?
* How enjoyable is the city you live in? Socially and otherwise
* What's an average salary in your city and how does it compare with how expensive everything is? In other words, what's your standard of life like there?
I live in London and while I don't hate it here, I am a little tired of it so I was considering other cities like Berlin, Madrid, HK, Zurich, Tokyo, San Francisco... which is why I would love to hear from you, especially if you have also lived in London and can compare it.
I will share my experience of London first, in case you are thinking of moving here:
In London there is an insane amount of work in DevOps, if you have a little experience and you convey yourself well in interviews you can get a job in a couple of weeks or even less. My LinkedIn is continuously buzzing with recruiters approaching me with opportunities, which admittedly some of them may be a bit crappy or a dead end, but many of them will land you an interview. If I put my CV in monster or any of these job search sites it gets even crazier; I get completely overloaded with recruiter calls and companies offering me jobs to interview for. I counted about 35 calls in a day once. This is not a testament of me being amazing or having the best CV in the world, it reflects the experience of many people who work here in DevOps type of roles.
I heard many engineers complain about recruiters being misleading and wasting your time, and I can agree with much of that but generally I think this is a good problem to have. It's good to have plenty of options and never have to stress about ever finding a job, even if not all jobs are dream jobs.
So in that sense London is great, however in terms of quality of life is another story. The pay in London isn't bad (the average is somewhere between 45 to 75K pounds, but when you consider how insanely expensive housing and transportation is, it's not such a great deal to live here. Even making a decent 65 or 70K a year, you can easily spend half of what you make after taxes in rent and related expenses if you don't want to live a million miles away from work or in a miserable flat, or have flatmates.
Also, even though there is a lot to do in London, I am not a big fan of the social dynamics in this city. For example when I worked in Madrid for a short contract people would constantly invite me out to hang out, to weekend parties and such, it just felt much more natural. For example when they asked "How are you?" it was a genuine question, not like the mechanical version you get in London. In London socialising always feels really forced, downing pints with colleagues after work and then go home. Almost every office I worked at always feels very impersonal too (saying hi to people in the kitchen often feels like nodding someone you met once on the street), after many years here I don't feel I have made many meaningful relationships in this place, but this may be entirely my opinion and experience on London.
So in a nutshell, London is great for work and career development, for quality of life is below average.
Would love to hear your opinions and experiences in this of other cities!
https://redd.it/gctdu7
@r_devops
reddit
DevOps job market and lifestyle in different international cities
I wanted to get your opinion on the city you live in: * How easy is to find a DevOps Role? * How enjoyable is the city you live in? Socially and...
CodePush implementation in Cordova app
I gave this talk over the weekend in a meetup. This might help someone who wish to explore about devops in mobile
App development
https://medium.com/@deepakjha14.ex/codepush-in-action-3cc97d6affa5
https://redd.it/gcs27d
@r_devops
I gave this talk over the weekend in a meetup. This might help someone who wish to explore about devops in mobile
App development
https://medium.com/@deepakjha14.ex/codepush-in-action-3cc97d6affa5
https://redd.it/gcs27d
@r_devops
Medium
CodePush in action
Step by step guild to implement CodePush for Android devices
Jenkin pipeline guidance for Beginner
I am pretty new to jenkin pipeline world, and wanted to create a pipeline which can perform all the steps which is currently executed in a shell script ? can someone share some tips how to design this?
https://redd.it/gcrv7p
@r_devops
I am pretty new to jenkin pipeline world, and wanted to create a pipeline which can perform all the steps which is currently executed in a shell script ? can someone share some tips how to design this?
https://redd.it/gcrv7p
@r_devops
reddit
Jenkin pipeline guidance for Beginner
I am pretty new to jenkin pipeline world, and wanted to create a pipeline which can perform all the steps which is currently executed in a shell...
Your opinion
Hello im looking to get into DevOps and was wondering can you guys take a look at this course for me [Udacity](udacity.com/course/cloud-dev-ops-nanodegree—nd9991)
https://redd.it/gcqv6z
@r_devops
Hello im looking to get into DevOps and was wondering can you guys take a look at this course for me [Udacity](udacity.com/course/cloud-dev-ops-nanodegree—nd9991)
https://redd.it/gcqv6z
@r_devops
reddit
Your opinion
Hello im looking to get into DevOps and was wondering can you guys take a look at this course for me...
Open source terraform module to serve website using aws s3
I have created an opensource Terraform module to host your website in AWS S3 using Terraform.
Github Repo: https://github.com/worldofprasanna/terraform-aws-staticwebsite
Blog post: https://blog.francium.tech/how-to-serve-your-website-from-aws-s3-using-terraform-94dfd16324bf
Please take a look at it and let me know if you find it useful (by giving a star in github repo / claps in medium). Thanks.
https://redd.it/gcpqq4
@r_devops
I have created an opensource Terraform module to host your website in AWS S3 using Terraform.
Github Repo: https://github.com/worldofprasanna/terraform-aws-staticwebsite
Blog post: https://blog.francium.tech/how-to-serve-your-website-from-aws-s3-using-terraform-94dfd16324bf
Please take a look at it and let me know if you find it useful (by giving a star in github repo / claps in medium). Thanks.
https://redd.it/gcpqq4
@r_devops
GitHub
GitHub - worldofprasanna/terraform-aws-staticwebsite: Terraform module to create & host static UI application in AWS S3
:green_heart: Terraform module to create & host static UI application in AWS S3 - GitHub - worldofprasanna/terraform-aws-staticwebsite: Terraform module to create & host static UI a...
Docker multi-arch build and images, the simple way
“Build once, deploy anywhere” is really nice on the paper but if you want to use ARM targets to reduce your bill, such as Raspberry Pis and AWS A1 instances, or even keep using your old i386 servers, deploying everywhere can become a tricky problem as you need to build your software for these platforms. To fix this problem, Docker introduced the principle of multi-arch builds and we’ll see how to use this and put it into production.
https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/
https://redd.it/gcmix8
@r_devops
“Build once, deploy anywhere” is really nice on the paper but if you want to use ARM targets to reduce your bill, such as Raspberry Pis and AWS A1 instances, or even keep using your old i386 servers, deploying everywhere can become a tricky problem as you need to build your software for these platforms. To fix this problem, Docker introduced the principle of multi-arch builds and we’ll see how to use this and put it into production.
https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/
https://redd.it/gcmix8
@r_devops
Docker
Multi-arch build and images, the simple way | Docker
ild once, deploy anywhere” is really nice on the paper but if you want to use ARM targets to reduce your bill, such as Raspberry Pis and AWS A1 instances, or even keep using your old i386 servers, deploying everywhere can become a tricky problem as you need…
Scripting Type and Level
I'm aware of writing scripts in python is one of the roles for being a devops.
Are the type of scripting like for automation context rather than being a sw dev?
How much oop scripting are you involved as a devops?
Any scripting examples, projects, or youtubes I can find? For instance on youtube, if you type python, it's just purely like building some game app, syntax tutorials, and stuff like that
https://redd.it/gczmvb
@r_devops
I'm aware of writing scripts in python is one of the roles for being a devops.
Are the type of scripting like for automation context rather than being a sw dev?
How much oop scripting are you involved as a devops?
Any scripting examples, projects, or youtubes I can find? For instance on youtube, if you type python, it's just purely like building some game app, syntax tutorials, and stuff like that
https://redd.it/gczmvb
@r_devops
reddit
Scripting Type and Level
I'm aware of writing scripts in python is one of the roles for being a devops. Are the type of scripting like for automation context rather than...
Docker Swarm Cluster Complete Guide
Docker Swarm all in one guide:
\- How to set up swarm? - adding node, removing, all inspect methods and commands
\- How to set up services? - creating, updating, scaling, types of services, placement constraints,
And many more...
All command needed for everyday work with Docker Swarm and Docker Services in one place:
[https://knowledgepill.it/posts/docker\_swarm\_compendium/](https://knowledgepill.it/posts/docker_swarm_compendium/)
https://redd.it/gcyehi
@r_devops
Docker Swarm all in one guide:
\- How to set up swarm? - adding node, removing, all inspect methods and commands
\- How to set up services? - creating, updating, scaling, types of services, placement constraints,
And many more...
All command needed for everyday work with Docker Swarm and Docker Services in one place:
[https://knowledgepill.it/posts/docker\_swarm\_compendium/](https://knowledgepill.it/posts/docker_swarm_compendium/)
https://redd.it/gcyehi
@r_devops
Saltstack critical bug !
Urgent ! If you are using salt > [https://www.zdnet.com/article/saltstack-salt-critical-bugs-allow-data-center-cloud-server-hijacking-as-root/](https://www.zdnet.com/article/saltstack-salt-critical-bugs-allow-data-center-cloud-server-hijacking-as-root/)
[https://github.com/saltstack/salt/issues/57057](https://github.com/saltstack/salt/issues/57057)
https://redd.it/gd1qy9
@r_devops
Urgent ! If you are using salt > [https://www.zdnet.com/article/saltstack-salt-critical-bugs-allow-data-center-cloud-server-hijacking-as-root/](https://www.zdnet.com/article/saltstack-salt-critical-bugs-allow-data-center-cloud-server-hijacking-as-root/)
[https://github.com/saltstack/salt/issues/57057](https://github.com/saltstack/salt/issues/57057)
https://redd.it/gd1qy9
@r_devops
ZDNet
SaltStack Salt critical bugs allow data center, cloud server hijacking as root | ZDNet
Researchers expect the vulnerabilities to be exploited in the wild within days.
Do Banks encrypt our Finacial Records in their database?
Hi I'm sorry if this Is not the right place to post I have no idea where else to post I tried searching this but came back with very vauge information.
Do banks encrypt our finacial records in their database for example like transaction history?
https://redd.it/gd2j7o
@r_devops
Hi I'm sorry if this Is not the right place to post I have no idea where else to post I tried searching this but came back with very vauge information.
Do banks encrypt our finacial records in their database for example like transaction history?
https://redd.it/gd2j7o
@r_devops
reddit
Do Banks encrypt our Finacial Records in their database?
Hi I'm sorry if this Is not the right place to post I have no idea where else to post I tried searching this but came back with very vauge...
How can i keep an each instance in an autoscaling group aware of each other instance?
I have some (3rd party) software that needs me to post a json of all the IPs in the software's cluster to every instance, i'd like to be able to use autoscaling groups the instances are behind a LB. So the annoying part is updating that json every time an instance is created.
My idea is a serverless function get all instances in the autoscaling group, get their ips and return them to the requester. Then each instance will invoke the function then do a local POST of the ips on boot and every x seconds after that to stay in sync.
I don't know how much this will scale up, so if there will be more than 10 instances, i may add a cache in front of the lambda, but since its such a tiny json, it would just be a t2.small redis server.
​
Am i missing an easier way to do this?
https://redd.it/gculca
@r_devops
I have some (3rd party) software that needs me to post a json of all the IPs in the software's cluster to every instance, i'd like to be able to use autoscaling groups the instances are behind a LB. So the annoying part is updating that json every time an instance is created.
My idea is a serverless function get all instances in the autoscaling group, get their ips and return them to the requester. Then each instance will invoke the function then do a local POST of the ips on boot and every x seconds after that to stay in sync.
I don't know how much this will scale up, so if there will be more than 10 instances, i may add a cache in front of the lambda, but since its such a tiny json, it would just be a t2.small redis server.
​
Am i missing an easier way to do this?
https://redd.it/gculca
@r_devops
reddit
How can i keep an each instance in an autoscaling group aware of...
I have some (3rd party) software that needs me to post a json of all the IPs in the software's cluster to every instance, i'd like to be able to...
How do you host internal tools?
Let's say, someone non-DevOpsy comes to you with a script and says "I need a place to run this other than my own computer. It needs to be scheduled every Monday or, perhaps, my team needs to trigger it manually sometimes". What do you do?
E.g. at my previous job we used Jenkins a lot for this. It's a bit messy, but still, Jenkins provides a somewhat unified environment, takes care of scheduling the job, gives you a form for parametrization, etc. I'm wondering if there's something better suited for this purpose with a more human-friendly UI than Jenkins. Something that you could give to non-DevOps people.
https://redd.it/gd3je6
@r_devops
Let's say, someone non-DevOpsy comes to you with a script and says "I need a place to run this other than my own computer. It needs to be scheduled every Monday or, perhaps, my team needs to trigger it manually sometimes". What do you do?
E.g. at my previous job we used Jenkins a lot for this. It's a bit messy, but still, Jenkins provides a somewhat unified environment, takes care of scheduling the job, gives you a form for parametrization, etc. I'm wondering if there's something better suited for this purpose with a more human-friendly UI than Jenkins. Something that you could give to non-DevOps people.
https://redd.it/gd3je6
@r_devops
reddit
How do you host internal tools?
Let's say, someone non-DevOpsy comes to you with a script and says "I need a place to run this other than my own computer. It needs to be...
Agile metrics: Evidence Based Management (EBM) and Objective Key Results (OKR) create Flow.
“Agile metrics: Evidence Based Management (EBM) and Objective Key Results (OKR) create Flow.” by Richard Hoedeman https://link.medium.com/WjrCrDWYZ5
https://redd.it/gcnfj9
@r_devops
“Agile metrics: Evidence Based Management (EBM) and Objective Key Results (OKR) create Flow.” by Richard Hoedeman https://link.medium.com/WjrCrDWYZ5
https://redd.it/gcnfj9
@r_devops
Medium
Agile metrics: Evidence Based Management (EBM) and Objective Key Results (OKR) create Flow. EBM + OKR = Flow.
Why do we measure progress and velocity? Don’t you trust us? Do you want to check us or compare us with other teams? Unfortunately these…
Deserted Island DevOps wrapup
Deserted Island DevOps was a DevOps conference that happened in Animal Crossing this week. It was a lot of fun, and featured some talks that are very applicable to what teams are facing now. Speakers included Ian Coldwater, Matt Stratton and Aaron Aldridge.
Read my thoughts on the event here, including links to the talks: [https://www.firehydrant.io/blog/deserted-island-devops-wrapup/](https://www.firehydrant.io/blog/deserted-island-devops-wrapup/)
Thanks to everyone involved for putting on such a fun, unique event.
https://redd.it/gdh7sn
@r_devops
Deserted Island DevOps was a DevOps conference that happened in Animal Crossing this week. It was a lot of fun, and featured some talks that are very applicable to what teams are facing now. Speakers included Ian Coldwater, Matt Stratton and Aaron Aldridge.
Read my thoughts on the event here, including links to the talks: [https://www.firehydrant.io/blog/deserted-island-devops-wrapup/](https://www.firehydrant.io/blog/deserted-island-devops-wrapup/)
Thanks to everyone involved for putting on such a fun, unique event.
https://redd.it/gdh7sn
@r_devops
FireHydrant
Deserted Island DevOps Wrapup
Deserted Island DevOps was held on April 30, 2020, in the game Animal Crossing: New Horizons. It was the first tech conference held in Animal Crossing, as far as I…
GitOps with Flux and Kustomize
Hi DevOps,
Long time Redditor, but I finally decided to separate my personal account from a professional account.
Anyway, I have been writing medium posts for some time now and thought I would share them with this sub.
As of late, I have been really into GitOps. When troubleshooting problems in production, I find that the problem lies in one of three categories.
* code
* environment config
* data
If I'm doing things right, environment config related issues can be easily remedied because when my K8S cluster syncs with my source of truth, I'm back to my desired stated.
​
I wrote this article so others can try it out. Hopefully, it will help.
[https://medium.com/@airwavetechio/gitops-with-flux-and-kustomize-24dfabb8bc5d](https://medium.com/@airwavetechio/gitops-with-flux-and-kustomize-24dfabb8bc5d)
​
Thanks for reading.
https://redd.it/gdf877
@r_devops
Hi DevOps,
Long time Redditor, but I finally decided to separate my personal account from a professional account.
Anyway, I have been writing medium posts for some time now and thought I would share them with this sub.
As of late, I have been really into GitOps. When troubleshooting problems in production, I find that the problem lies in one of three categories.
* code
* environment config
* data
If I'm doing things right, environment config related issues can be easily remedied because when my K8S cluster syncs with my source of truth, I'm back to my desired stated.
​
I wrote this article so others can try it out. Hopefully, it will help.
[https://medium.com/@airwavetechio/gitops-with-flux-and-kustomize-24dfabb8bc5d](https://medium.com/@airwavetechio/gitops-with-flux-and-kustomize-24dfabb8bc5d)
​
Thanks for reading.
https://redd.it/gdf877
@r_devops
Medium
GitOps with Flux and Kustomize
On Windows 10 with minikube & different namespaces
DevOps On Kubernetes responsibilities
DevOps Engineers working on kubernetes what are your roles and responsibilities?
Do you write the kubernetes helmet charts or developers do that? What parts should be responsibly of devops and what should be taken care by dev other than writing application code?
https://redd.it/gdb9tp
@r_devops
DevOps Engineers working on kubernetes what are your roles and responsibilities?
Do you write the kubernetes helmet charts or developers do that? What parts should be responsibly of devops and what should be taken care by dev other than writing application code?
https://redd.it/gdb9tp
@r_devops
reddit
DevOps On Kubernetes responsibilities
DevOps Engineers working on kubernetes what are your roles and responsibilities? Do you write the kubernetes helmet charts or developers do that?...
Question about running MongoDB HA on K8s
I've got a kubernetes cluster running and I've deployed MongoDB using bitnami/mongodb helm chart which created 1 primary and 2 secondary pods, mongodb service that points to the pod labeled primary and mongodb-headless service that points to all mongo pods.
If an app uses the mongodb service to write to the database then it will work only if the primary pod is up, if the primary pod goes down one of the secondaries will become primary but the service won't point to that newly elected primary since it uses labels and the app won't be able to access the database anymore. If an app use the mongodb-headless service then it will sometimes get load-balanced to a secondary pod and won't be able to write.
So my question is how can I make MongoDB always writable even if the main primary pod goes down?
https://redd.it/gd9lq0
@r_devops
I've got a kubernetes cluster running and I've deployed MongoDB using bitnami/mongodb helm chart which created 1 primary and 2 secondary pods, mongodb service that points to the pod labeled primary and mongodb-headless service that points to all mongo pods.
If an app uses the mongodb service to write to the database then it will work only if the primary pod is up, if the primary pod goes down one of the secondaries will become primary but the service won't point to that newly elected primary since it uses labels and the app won't be able to access the database anymore. If an app use the mongodb-headless service then it will sometimes get load-balanced to a secondary pod and won't be able to write.
So my question is how can I make MongoDB always writable even if the main primary pod goes down?
https://redd.it/gd9lq0
@r_devops
reddit
Question about running MongoDB HA on K8s
I've got a kubernetes cluster running and I've deployed MongoDB using bitnami/mongodb helm chart which created 1 primary and 2 secondary pods,...
Python Azure Serverless [Article]

Wrote the article, which gives an example of using Azure Python Function for obtaining Azure Datacenter and Office 365 IP addresses.
[Article link](https://github.com/groovy-sky/azure/tree/master/func-parse-cloud-00#introduction)
[Obtained data](https://strgy5exht4o56pkq.z6.web.core.windows.net/)
https://redd.it/gdcc0o
@r_devops

Wrote the article, which gives an example of using Azure Python Function for obtaining Azure Datacenter and Office 365 IP addresses.
[Article link](https://github.com/groovy-sky/azure/tree/master/func-parse-cloud-00#introduction)
[Obtained data](https://strgy5exht4o56pkq.z6.web.core.windows.net/)
https://redd.it/gdcc0o
@r_devops
Free Early Access to New No-Code Data Apps Builder
Hey guys and gals!
A while ago together with my team, we developed a new no-code visual development platform for data-driven applications. We are hoping to launch it soon, and we've opened up an early access program for the most curious and enthusiastic.
With our platform, you can turn your data into useful tools by developing web apps 5-10 times faster than you would with traditional coding. It's especially great for working with multiple data sources via API and building rich UI interactions.
We developed it to save time when building web apps for our clients, so we made it easy to use but very powerful. Now we want to launch it to the public and we need your help.
If you are interested in giving our platform a try, drop a comment below and I'll send you the invite. We are looking forward to hearing your feedback and suggestions, and to see what you build with it!
Hope to see you there!
https://redd.it/gdbnnj
@r_devops
Hey guys and gals!
A while ago together with my team, we developed a new no-code visual development platform for data-driven applications. We are hoping to launch it soon, and we've opened up an early access program for the most curious and enthusiastic.
With our platform, you can turn your data into useful tools by developing web apps 5-10 times faster than you would with traditional coding. It's especially great for working with multiple data sources via API and building rich UI interactions.
We developed it to save time when building web apps for our clients, so we made it easy to use but very powerful. Now we want to launch it to the public and we need your help.
If you are interested in giving our platform a try, drop a comment below and I'll send you the invite. We are looking forward to hearing your feedback and suggestions, and to see what you build with it!
Hope to see you there!
https://redd.it/gdbnnj
@r_devops
reddit
Free Early Access to New No-Code Data Apps Builder
Hey guys and gals! A while ago together with my team, we developed a new no-code visual development platform for data-driven applications. We are...