Licenses and learning from public infrastructure code
As is common in the industry, I often use reference implementations of e. g. a certain functionality in Terraform or Ansible on Github and then implement it myself in order to actually understand the code. Unfortunately, there's often no real liberty in implementing that functionality so I'm forced to pretty much copy it with alterations to suit my style. For a practical example, I was looking at this today and I'm pretty sure there's just no substantially different way to implement AWS WAF Classic logging with Terraform. It's Apache-licensed which I guess means I'm allowed to learn from it but I'm not even really sure about that.
This has become a real problem because I avoid things that might be helpful for understanding an entire concept even if I don't look at the code later on. From my understanding (under German copyright law specifically, but this topic might also be interesting for people in other jurisdictions), code needs to have a certain level of creativity and originality to it in order to be protected. I can well see that for e. g. an interesting way to implement a complex algorithm but you don't really get to be creative with infrastructure. It's rather like craftsmanship: more or less complete as per vendor best practices if minute details like handling a single step elegantly don't matter. (Just copying an entire module is a different thing, I'm just talking about using it for reference.)
Still, I avoid looking at anything that's not licensed very permissively but I don't know if that's necessary. As with most devops things, we're not shipping our code but either use it entirely for internal needs or sell the resulting system we create with our internal code as a service or final product. (I assume the rules are very different if we'd sell e. g. a set of Terraform modules to a company to create their internal resources?)
Can someone explain how copyright and licensing affect us in this position (or devops more generally if you're good at this)? I don't think there's really any good resource for infrastructure code specifically, and the use case is quite different from "normal" code. What are my duties under the various licenses when referencing code in this situation? So far, I've just been putting a link to the original resource as a comment but that's more for documentation than anything.
https://redd.it/nb1nbi
@r_devops
As is common in the industry, I often use reference implementations of e. g. a certain functionality in Terraform or Ansible on Github and then implement it myself in order to actually understand the code. Unfortunately, there's often no real liberty in implementing that functionality so I'm forced to pretty much copy it with alterations to suit my style. For a practical example, I was looking at this today and I'm pretty sure there's just no substantially different way to implement AWS WAF Classic logging with Terraform. It's Apache-licensed which I guess means I'm allowed to learn from it but I'm not even really sure about that.
This has become a real problem because I avoid things that might be helpful for understanding an entire concept even if I don't look at the code later on. From my understanding (under German copyright law specifically, but this topic might also be interesting for people in other jurisdictions), code needs to have a certain level of creativity and originality to it in order to be protected. I can well see that for e. g. an interesting way to implement a complex algorithm but you don't really get to be creative with infrastructure. It's rather like craftsmanship: more or less complete as per vendor best practices if minute details like handling a single step elegantly don't matter. (Just copying an entire module is a different thing, I'm just talking about using it for reference.)
Still, I avoid looking at anything that's not licensed very permissively but I don't know if that's necessary. As with most devops things, we're not shipping our code but either use it entirely for internal needs or sell the resulting system we create with our internal code as a service or final product. (I assume the rules are very different if we'd sell e. g. a set of Terraform modules to a company to create their internal resources?)
Can someone explain how copyright and licensing affect us in this position (or devops more generally if you're good at this)? I don't think there's really any good resource for infrastructure code specifically, and the use case is quite different from "normal" code. What are my duties under the various licenses when referencing code in this situation? So far, I've just been putting a link to the original resource as a comment but that's more for documentation than anything.
https://redd.it/nb1nbi
@r_devops
GitHub
traveloka/terraform-aws-waf-webacl-supporting-resources
A module to create several resources needed by AWS WAF WebACL. - traveloka/terraform-aws-waf-webacl-supporting-resources
How would you describe what jenkins is in simple terms?
Is it accurate to say that it runs scripts regularly at scheduled times or is that wrong or there's much more to it?
https://redd.it/nayqev
@r_devops
Is it accurate to say that it runs scripts regularly at scheduled times or is that wrong or there's much more to it?
https://redd.it/nayqev
@r_devops
reddit
How would you describe what jenkins is in simple terms?
Is it accurate to say that it runs scripts regularly at scheduled times or is that wrong or there's much more to it?
trying to switch from travis to github actions
Hi All,
I would like some help. I am trying to switch to Github actions. Essentially my travis file looks like this
dist: bionic
language: r
sudo : false
cache: packages
r:
- release
- devel
rpackages:
- Rcpp
- RcppArmadillo
- methods
rgithubpackages:
- jimhester/covr
warningsareerrors: true
beforeinstall:
- sudo apt-get install libharfbuzz-dev libfribidi-dev
aftersuccess:
- Rscript -e 'covr::coveralls()'
beforedeploy:
- Rscript -e 'install.packages("devtools"); devtools::install(quick = TRUE); install.packages(c("mlbench", "ggthemes", "gridExtra", "vcd", "tidyr")); devtools::document(); pkgdown::buildsite();'
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUBPAT
local-dir: docs
on:
branch: master
Any help is appreciated to get this working in Github actions
https://redd.it/nb0rol
@r_devops
Hi All,
I would like some help. I am trying to switch to Github actions. Essentially my travis file looks like this
dist: bionic
language: r
sudo : false
cache: packages
r:
- release
- devel
rpackages:
- Rcpp
- RcppArmadillo
- methods
rgithubpackages:
- jimhester/covr
warningsareerrors: true
beforeinstall:
- sudo apt-get install libharfbuzz-dev libfribidi-dev
aftersuccess:
- Rscript -e 'covr::coveralls()'
beforedeploy:
- Rscript -e 'install.packages("devtools"); devtools::install(quick = TRUE); install.packages(c("mlbench", "ggthemes", "gridExtra", "vcd", "tidyr")); devtools::document(); pkgdown::buildsite();'
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUBPAT
local-dir: docs
on:
branch: master
Any help is appreciated to get this working in Github actions
https://redd.it/nb0rol
@r_devops
reddit
trying to switch from travis to github actions
Hi All, I would like some help. I am trying to switch to Github actions. Essentially my travis file looks like this dist: bionic ...
Are there reputable sites (preferably canadian or somewhere without cross country restrictions) that one can sign up to potentially do some freelance devops jobs?
Looking to make some extra cash essentially
https://redd.it/nb3o6m
@r_devops
Looking to make some extra cash essentially
https://redd.it/nb3o6m
@r_devops
reddit
Are there reputable sites (preferably canadian or somewhere...
Looking to make some extra cash essentially
Interview DevOps engineer ??
I have a year and 6 months of experience. I have a final technical interview round for 3hours, how difficult would it be, and what would be the kind of questions can I expect?
https://redd.it/nb63r5
@r_devops
I have a year and 6 months of experience. I have a final technical interview round for 3hours, how difficult would it be, and what would be the kind of questions can I expect?
https://redd.it/nb63r5
@r_devops
reddit
Interview DevOps engineer ??
I have a year and 6 months of experience. I have a final technical interview round for 3hours, how difficult would it be, and what would be the...
Has anyone ever worked for or with a DevOps Consulting Company?
So some backstory, I'm looking for a new gig, as the current one is starting to falls apart from the top down, and I've had a few interviews with RevOps Consulting Companies.
In my current company, I despise all the developer contractors. As they seem to do bare minimum effort or research, instead of looking for best solution and proposing it. They have no care if the company or product fails. And usually they hand us a black box, and say good luck, then when we need a patch or bug fix, they charge us so much more to fix the thing they broke in the first place.
Never worked with a DevOps consultant thou, so maybe that's different.
So what are your experiences with consulting firms in the Devops space?
https://redd.it/nb3rr0
@r_devops
So some backstory, I'm looking for a new gig, as the current one is starting to falls apart from the top down, and I've had a few interviews with RevOps Consulting Companies.
In my current company, I despise all the developer contractors. As they seem to do bare minimum effort or research, instead of looking for best solution and proposing it. They have no care if the company or product fails. And usually they hand us a black box, and say good luck, then when we need a patch or bug fix, they charge us so much more to fix the thing they broke in the first place.
Never worked with a DevOps consultant thou, so maybe that's different.
So what are your experiences with consulting firms in the Devops space?
https://redd.it/nb3rr0
@r_devops
reddit
Has anyone ever worked for or with a DevOps Consulting Company?
So some backstory, I'm looking for a new gig, as the current one is starting to falls apart from the top down, and I've had a few interviews with...
jq equivalent command for jmespath cheatsheet
I was looking at this jmespath tutorial and I am wondering if there is something out there that shows the equivalent jq command for jmespath. For example (to get the value of James),
{
"people":
{"first": "James", "last": "d"},
{"first": "Jacob", "last": "e"},
{"first": "Jayden", "last": "f"},
{"missing": "different"}
,
"foo": {"bar": "baz"}
}
The jmespath query:
people*.first | 0
And in jq, I have something like this:
.people | select(.first == "James") | .first
Is there some cheatsheet that shows the equivalent jq command for jmespath? Similar to the above example. Thanks.
https://redd.it/naua1w
@r_devops
I was looking at this jmespath tutorial and I am wondering if there is something out there that shows the equivalent jq command for jmespath. For example (to get the value of James),
{
"people":
{"first": "James", "last": "d"},
{"first": "Jacob", "last": "e"},
{"first": "Jayden", "last": "f"},
{"missing": "different"}
,
"foo": {"bar": "baz"}
}
The jmespath query:
people*.first | 0
And in jq, I have something like this:
.people | select(.first == "James") | .first
Is there some cheatsheet that shows the equivalent jq command for jmespath? Similar to the above example. Thanks.
https://redd.it/naua1w
@r_devops
Jenkins, what's next?
In the last 2 years, I have used Jenkins day after day, got to work with a lot of helpful plugins like Job DSL, CASC, etc. Most of my work is implementing better solutions for our deployment process in different cloud providers. However, I hear about a lot of other CI/CD solutions that people use, not always Jenkins, but TeamCity, CirceCI, and more.
I don't wanna be one of those who are only comfortable working with one CI/CD tool in my short career (3 years DevOps Experience), and also I look for other solutions other than Jenkins, which might be a better fit to improve our team.
We currently have processes with over 60 parameters in our pipelines which makes it not easy to maintain (especially the groovy definitions in our repo)
What CI/CD tool you use? or, what CI/CD you would recommend me to explore?
Thanks
https://redd.it/nbin16
@r_devops
In the last 2 years, I have used Jenkins day after day, got to work with a lot of helpful plugins like Job DSL, CASC, etc. Most of my work is implementing better solutions for our deployment process in different cloud providers. However, I hear about a lot of other CI/CD solutions that people use, not always Jenkins, but TeamCity, CirceCI, and more.
I don't wanna be one of those who are only comfortable working with one CI/CD tool in my short career (3 years DevOps Experience), and also I look for other solutions other than Jenkins, which might be a better fit to improve our team.
We currently have processes with over 60 parameters in our pipelines which makes it not easy to maintain (especially the groovy definitions in our repo)
What CI/CD tool you use? or, what CI/CD you would recommend me to explore?
Thanks
https://redd.it/nbin16
@r_devops
reddit
Jenkins, what's next?
In the last 2 years, I have used Jenkins day after day, got to work with a lot of helpful plugins like Job DSL, CASC, etc. Most of my work is...
I am a sysadmin, been working in IT for 17 years and want to become a devops engineer. How?
What is the best way to do this? I have some experience with powershell, react, python and git control. Any resources or help would be great!
https://redd.it/nbmd0w
@r_devops
What is the best way to do this? I have some experience with powershell, react, python and git control. Any resources or help would be great!
https://redd.it/nbmd0w
@r_devops
reddit
I am a sysadmin, been working in IT for 17 years and want to...
What is the best way to do this? I have some experience with powershell, react, python and git control. Any resources or help would be great!
Advice for working at my first startup company
As the title suggests, I'm joining my first startup as a DevOps engineer. Previously I worked at mostly large enterprise shops.
Any advice on navigating through the quirks of a startup?
How does it differ from enterprise?
What to expect?
https://redd.it/nbjbm4
@r_devops
As the title suggests, I'm joining my first startup as a DevOps engineer. Previously I worked at mostly large enterprise shops.
Any advice on navigating through the quirks of a startup?
How does it differ from enterprise?
What to expect?
https://redd.it/nbjbm4
@r_devops
reddit
Advice for working at my first startup company
As the title suggests, I'm joining my first startup as a DevOps engineer. Previously I worked at mostly large enterprise shops. Any advice on...
Assign domain to service in docker swarm
I have 3 manager 5 slave swarm, which ip address should i use in domain mapping to make my system fault tolerant.
Ps: if i assign it to any of my managers, if it goes down then my entire swarm in unaccessible.
https://redd.it/nbe9un
@r_devops
I have 3 manager 5 slave swarm, which ip address should i use in domain mapping to make my system fault tolerant.
Ps: if i assign it to any of my managers, if it goes down then my entire swarm in unaccessible.
https://redd.it/nbe9un
@r_devops
reddit
Assign domain to service in docker swarm
I have 3 manager 5 slave swarm, which ip address should i use in domain mapping to make my system fault tolerant. Ps: if i assign it to any of my...
Career advice needed.
Hello everyone,
Request you to advice me on career path between Devops and Full Stack
My skills are
Linux, HTML, AWS, Python, SQL
Kindly advice to choose between Devops and Fullstack
https://redd.it/nbgot1
@r_devops
Hello everyone,
Request you to advice me on career path between Devops and Full Stack
My skills are
Linux, HTML, AWS, Python, SQL
Kindly advice to choose between Devops and Fullstack
https://redd.it/nbgot1
@r_devops
reddit
Career advice needed.
Hello everyone, Request you to advice me on career path between Devops and Full Stack My skills are Linux, HTML, AWS, Python, SQL Kindly advice...
What permissions do you assign to your pipelines?
I've worked at multiple companies within DevOps environments and always found that deployment pipelines are assigned almost full access, purely because of what they need to deploy and execute. This definitely isn't great from a security standpoint. How do you handle permissions and access requirements for your pipelines, without giving almost full access?
https://redd.it/nbs9f9
@r_devops
I've worked at multiple companies within DevOps environments and always found that deployment pipelines are assigned almost full access, purely because of what they need to deploy and execute. This definitely isn't great from a security standpoint. How do you handle permissions and access requirements for your pipelines, without giving almost full access?
https://redd.it/nbs9f9
@r_devops
reddit
What permissions do you assign to your pipelines?
I've worked at multiple companies within DevOps environments and always found that deployment pipelines are assigned almost full access, purely...
DevOps: What was your last salary review percentage , comparing to a total salary?
Small check, to see what is normal for current DevOps market.
Typical raise for Europe/US is like ~ 5 percent early( in case u stay on same position)
View Poll
https://redd.it/nbef65
@r_devops
Small check, to see what is normal for current DevOps market.
Typical raise for Europe/US is like ~ 5 percent early( in case u stay on same position)
View Poll
https://redd.it/nbef65
@r_devops
Landing pages
Landing pages and Ecommerce, go hand in hand. At some point, your ecommerce store needs advertisements to drive traffic. Well, those ads need to send potential customers to a landing page. The same goes for inbound links from blogs and publications. If your visitors don't land on a relevant landing page, they're going to be rather confused.
So the big question is which landing page builder should you choose?
When it comes to ramping up your conversion rate and creating a customizable environment where you can connect with your audience, there are plenty of options out there. Landing page builders come in many different shapes and sizes, from solutions designed specifically for WordPress, to market-leaders like Instapage and leadpages.
I am keen on recommending Instapage because of its beautiful templates, collaboration tools and heatmapping.
Customers get up to 400% more from their digital ad spend with Instapage.
For more information about Instapage, please visit this site: https://sites.google.com/view/landing-pages-best/home
https://redd.it/nbdl8x
@r_devops
Landing pages and Ecommerce, go hand in hand. At some point, your ecommerce store needs advertisements to drive traffic. Well, those ads need to send potential customers to a landing page. The same goes for inbound links from blogs and publications. If your visitors don't land on a relevant landing page, they're going to be rather confused.
So the big question is which landing page builder should you choose?
When it comes to ramping up your conversion rate and creating a customizable environment where you can connect with your audience, there are plenty of options out there. Landing page builders come in many different shapes and sizes, from solutions designed specifically for WordPress, to market-leaders like Instapage and leadpages.
I am keen on recommending Instapage because of its beautiful templates, collaboration tools and heatmapping.
Customers get up to 400% more from their digital ad spend with Instapage.
For more information about Instapage, please visit this site: https://sites.google.com/view/landing-pages-best/home
https://redd.it/nbdl8x
@r_devops
Google
LandingPages
1-Introduction:
Does CloudFlare cache query params?
I am doing a deploy to a server behind a CF and on example the url /css/custom.css is being cached, so I "fixed it" with additional parameter so it looks like /css/custom.css?tag=123456 and finally I am getting the newest CSS, but I do not know if this tag parameter will be cached.
Is using such query parameter a valid way to bypass the old cached files?
I would be happy if CF would cache content under that query parameter so I could use it with some abstract build number or something
https://redd.it/nbtoju
@r_devops
I am doing a deploy to a server behind a CF and on example the url /css/custom.css is being cached, so I "fixed it" with additional parameter so it looks like /css/custom.css?tag=123456 and finally I am getting the newest CSS, but I do not know if this tag parameter will be cached.
Is using such query parameter a valid way to bypass the old cached files?
I would be happy if CF would cache content under that query parameter so I could use it with some abstract build number or something
https://redd.it/nbtoju
@r_devops
reddit
Does CloudFlare cache query params?
I am doing a deploy to a server behind a CF and on example the url /css/custom.css is being cached, so I "fixed it" with additional parameter so...
Book on SSL Certs
Can anyone recommend a good book on SSL certs? I'm dealing with a variety of setups and I keep running into trust issues.
https://redd.it/nbnzl9
@r_devops
Can anyone recommend a good book on SSL certs? I'm dealing with a variety of setups and I keep running into trust issues.
https://redd.it/nbnzl9
@r_devops
reddit
Book on SSL Certs
Can anyone recommend a good book on SSL certs? I'm dealing with a variety of setups and I keep running into trust issues.
Configuration for Linux Rundeck to communicate with Windows nodes in same domain
I have a linux RHEL8 Rundeck server and want to make sure it can communicate or essentially run powershell commands or scripts on any host in my domain. Some of the windows machines are older (WinServer 2008, etc) and probably have an old version of powershell. What is the recommended way to allow linux Rundeck to communicate with any server in my domain? I was thinking of using a windows jump box (winserver 2019). Rundeck server is configured to only talk to it and it will kick off powershell commands or scripts for other nodes in the domain. That isn't working out so well. Is there a general configuration that I have to run on all machines in my domain so they can fully communicate?
https://redd.it/nbqdju
@r_devops
I have a linux RHEL8 Rundeck server and want to make sure it can communicate or essentially run powershell commands or scripts on any host in my domain. Some of the windows machines are older (WinServer 2008, etc) and probably have an old version of powershell. What is the recommended way to allow linux Rundeck to communicate with any server in my domain? I was thinking of using a windows jump box (winserver 2019). Rundeck server is configured to only talk to it and it will kick off powershell commands or scripts for other nodes in the domain. That isn't working out so well. Is there a general configuration that I have to run on all machines in my domain so they can fully communicate?
https://redd.it/nbqdju
@r_devops
reddit
Configuration for Linux Rundeck to communicate with Windows nodes...
I have a linux RHEL8 Rundeck server and want to make sure it can communicate or essentially run powershell commands or scripts on any host in my...
Why / how do use helm?
It seems I can't grasp the concept of helm and I have heard many different people tell me many different things about it. What problem did it solve for you? How? We have infra as code so we write code that outputs yamls for us and I was wondering if helm can expend / complement / replace it.
https://redd.it/nboy0o
@r_devops
It seems I can't grasp the concept of helm and I have heard many different people tell me many different things about it. What problem did it solve for you? How? We have infra as code so we write code that outputs yamls for us and I was wondering if helm can expend / complement / replace it.
https://redd.it/nboy0o
@r_devops
reddit
Why / how do use helm?
It seems I can't grasp the concept of helm and I have heard many different people tell me many different things about it. What problem did it...
Best way to learn Kubernetes in 2021?
Hello!
What learning resource can you recommend to a beginner?
My aim is to learn how to deploy, manage and secure Kubernetes.
Right now I am preparing for the RHCSA certification exam and would like to start with Kubernetes at the same time. I have a small Dell T20 with enough power to host Linux vms for Kubernetes.
​
Thank you in advance!
https://redd.it/nc4coh
@r_devops
Hello!
What learning resource can you recommend to a beginner?
My aim is to learn how to deploy, manage and secure Kubernetes.
Right now I am preparing for the RHCSA certification exam and would like to start with Kubernetes at the same time. I have a small Dell T20 with enough power to host Linux vms for Kubernetes.
​
Thank you in advance!
https://redd.it/nc4coh
@r_devops
reddit
Best way to learn Kubernetes in 2021?
Hello! What learning resource can you recommend to a beginner? My aim is to learn how to deploy, manage and secure Kubernetes. Right now I am...
Is learning Linux through VM sufficient?
Hello all,
I’m still a little early in my IT journey, so please bear with me. My end goal is to be in devops or a cloud engineer.
I really want the new M1 Mac, and need to buy a laptop ASAP (long story).
(Also getting a friends employee discount, and enjoyed the iOS experience this past decade, so please don’t recommend a different laptop 😅)
I know i need to learn Linux if i want to achieve my goals, but it seems M1 is incapable of using bootcamp at the moment for windows and Linux.
It also seems parallels came out with a way to run windows and Linux through VM, albeit still in its early stages.
My question is:
Because i don’t know exactly what the learning process is for Linux, will I be fine running/learning Linux through a VM, or will i need it to double boot through bootcamp to get my learning done properly for some reason I’m unaware of?
Also a bonus:
Is it fair to assume that the M1 will be able to use bootcamp with Linux OS eventually?
https://redd.it/nboqs9
@r_devops
Hello all,
I’m still a little early in my IT journey, so please bear with me. My end goal is to be in devops or a cloud engineer.
I really want the new M1 Mac, and need to buy a laptop ASAP (long story).
(Also getting a friends employee discount, and enjoyed the iOS experience this past decade, so please don’t recommend a different laptop 😅)
I know i need to learn Linux if i want to achieve my goals, but it seems M1 is incapable of using bootcamp at the moment for windows and Linux.
It also seems parallels came out with a way to run windows and Linux through VM, albeit still in its early stages.
My question is:
Because i don’t know exactly what the learning process is for Linux, will I be fine running/learning Linux through a VM, or will i need it to double boot through bootcamp to get my learning done properly for some reason I’m unaware of?
Also a bonus:
Is it fair to assume that the M1 will be able to use bootcamp with Linux OS eventually?
https://redd.it/nboqs9
@r_devops
reddit
Is learning Linux through VM sufficient?
Hello all, I’m still a little early in my IT journey, so please bear with me. My end goal is to be in devops or a cloud engineer. I really want...