Creating CICD pipeline to deploy to AWS
I am trying to design a CICD that can deploy Cloudformation via Jenkins. I am thinking I need the following scripts:
A script to assume the role into the account.
A script to compile the template (eg injecting a lambda into Cloudformation or creating a s3 bucket to upload the zip)
A script to validate if the stack compiled correctly
A script to deploy the stack
Do I need to pass the IAM user credentials in each stage of the pipeline? If so how can I create a persistent environment with such information? How can I upload the lambda for instance into s3 and inject the information into the lambda resource? Do I need an IAM user or role to do the same?
https://redd.it/ljzro1
@r_devops
I am trying to design a CICD that can deploy Cloudformation via Jenkins. I am thinking I need the following scripts:
A script to assume the role into the account.
A script to compile the template (eg injecting a lambda into Cloudformation or creating a s3 bucket to upload the zip)
A script to validate if the stack compiled correctly
A script to deploy the stack
Do I need to pass the IAM user credentials in each stage of the pipeline? If so how can I create a persistent environment with such information? How can I upload the lambda for instance into s3 and inject the information into the lambda resource? Do I need an IAM user or role to do the same?
https://redd.it/ljzro1
@r_devops
reddit
Creating CICD pipeline to deploy to AWS
I am trying to design a CICD that can deploy Cloudformation via Jenkins. I am thinking I need the following scripts: * A script to assume the...
Blog This week is the end of the AWS RDS Postgres 9.5 and Istio 1.7. New release of the HashiCorp Boundary, Istio and Kubernetes.
Hello,
A few weeks ago I started the weekly news. I basically check the news from the last week and create a "batch" news. It also has a reminder section, that's where I put the reminders from end-of-life/support, critical security patches, etc.
Feedbacks/suggestions/* are always welcome :)
See on Medium: https://medium.com/news-updates-and-reminders-cloud-devops-sre-chaos/week06-news-updates-reminders-aws-hashicorp-istio-kubernetes-linux-761e326001db?sk=cd7117bb380d11991190a35ac54b241b
​
See on my Website: https://www.lozanomatheus.com/post/week06-news-updates-reminders-aws-hashicorp-istio-kubernetes-linux
https://redd.it/ljzhxf
@r_devops
Hello,
A few weeks ago I started the weekly news. I basically check the news from the last week and create a "batch" news. It also has a reminder section, that's where I put the reminders from end-of-life/support, critical security patches, etc.
Feedbacks/suggestions/* are always welcome :)
See on Medium: https://medium.com/news-updates-and-reminders-cloud-devops-sre-chaos/week06-news-updates-reminders-aws-hashicorp-istio-kubernetes-linux-761e326001db?sk=cd7117bb380d11991190a35ac54b241b
​
See on my Website: https://www.lozanomatheus.com/post/week06-news-updates-reminders-aws-hashicorp-istio-kubernetes-linux
https://redd.it/ljzhxf
@r_devops
Medium
Week06 — News, Updates & Reminders — AWS | HashiCorp | Istio | Kubernetes | Linux
This week is the end of the AWS RDS Postgres 9.5 and Istio 1.7. New release of the HashiCorp Boundary, Istio and Kubernetes.
What internal tools have you built around prometheus?
What do they do and how easy were they to build?
https://redd.it/ljwxwo
@r_devops
What do they do and how easy were they to build?
https://redd.it/ljwxwo
@r_devops
reddit
What internal tools have you built around prometheus?
What do they do and how easy were they to build?
Change Position (Small Org)
Hi Everyone!
I’m looking for some advice about my career if possible. I currently work for a small SME (UK based) and have 1/2 years experience in the industry. I’m basically a single person Ops team working with two devs who have very little influence on the Ops side. In a previous job, I worked for a startup, so don’t really have much experience working in a large Org/business on a large set of infrastructure. Have I shot myself in the foot? Should I change companies? I’m wanting to eventually move to a large org in an architect level position.
https://redd.it/ljvtam
@r_devops
Hi Everyone!
I’m looking for some advice about my career if possible. I currently work for a small SME (UK based) and have 1/2 years experience in the industry. I’m basically a single person Ops team working with two devs who have very little influence on the Ops side. In a previous job, I worked for a startup, so don’t really have much experience working in a large Org/business on a large set of infrastructure. Have I shot myself in the foot? Should I change companies? I’m wanting to eventually move to a large org in an architect level position.
https://redd.it/ljvtam
@r_devops
reddit
Change Position (Small Org)
Hi Everyone! I’m looking for some advice about my career if possible. I currently work for a small SME (UK based) and have 1/2 years experience...
AWS or GCP new career in Japan DEVOPS
I'm looking to change my career path from IT onsite infrastructure to DEVOPS. (Currently working in tokyo as IT onsite engenieer)
According to my understanding because the trends in the near future GCP will dominate the spectrum that now is leading AWS, but in Japan, I cannot find a single job hiring position involving GCP. I need to take a desition asap while finish my CCNA.
Need some help and guidance for my new path. Hope someone can share thoughts and advice.
Cheers.
https://redd.it/lkc1uq
@r_devops
I'm looking to change my career path from IT onsite infrastructure to DEVOPS. (Currently working in tokyo as IT onsite engenieer)
According to my understanding because the trends in the near future GCP will dominate the spectrum that now is leading AWS, but in Japan, I cannot find a single job hiring position involving GCP. I need to take a desition asap while finish my CCNA.
Need some help and guidance for my new path. Hope someone can share thoughts and advice.
Cheers.
https://redd.it/lkc1uq
@r_devops
reddit
AWS or GCP new career in Japan DEVOPS
I'm looking to change my career path from IT onsite infrastructure to DEVOPS. (Currently working in tokyo as IT onsite engenieer) According to my...
What "cloud native" is really good for?
This is a honest question, I swear. There are tons of marketing slides explaining the "benefits of cloud native approach", but my question is - what is it really good for? Like for your project/product/company - what specifically have you gained by going cloud-native?
https://redd.it/lkbx9e
@r_devops
This is a honest question, I swear. There are tons of marketing slides explaining the "benefits of cloud native approach", but my question is - what is it really good for? Like for your project/product/company - what specifically have you gained by going cloud-native?
https://redd.it/lkbx9e
@r_devops
reddit
What "cloud native" is really good for?
This is a honest question, I swear. There are tons of marketing slides explaining the "benefits of cloud native approach", but my question is -...
When is it wise to switch back from serverless?
Cost can become an issue with serverless functions especially for constant large-scale loads
Performance is not optimal (even with all the magic serverless functionality to support computes)
​
>When certain functionalities are getting used really frequently and their performance is not that great for the consuming users or client microservices, while costs can be lower in terms of cloud resource usage for a certain workload, and when the application is proven and parts of it can be carved in delimited microservices, that is the time.
>
>Microservices are faster and cheaper but it takes more to build and modify them. So both serverless and microservices have their place in an event driven organization of systems.
>
>\- Nicolae Marasoiu
Anything else? I know you've got an opinion - let's see it,
https://redd.it/lkd6ku
@r_devops
Cost can become an issue with serverless functions especially for constant large-scale loads
Performance is not optimal (even with all the magic serverless functionality to support computes)
​
>When certain functionalities are getting used really frequently and their performance is not that great for the consuming users or client microservices, while costs can be lower in terms of cloud resource usage for a certain workload, and when the application is proven and parts of it can be carved in delimited microservices, that is the time.
>
>Microservices are faster and cheaper but it takes more to build and modify them. So both serverless and microservices have their place in an event driven organization of systems.
>
>\- Nicolae Marasoiu
Anything else? I know you've got an opinion - let's see it,
https://redd.it/lkd6ku
@r_devops
reddit
When is it wise to switch back from serverless?
* Cost can become an issue with serverless functions especially for constant large-scale loads * Performance is not optimal (even with all the...
Advice Request Infrastructure + Configuration + Deployment Management Stack
Hi all,
I am strating to automate the infrastructure and the configuration for a personal project. And I am using the following tools:
Terraform: AWS EC2 instances, RDS and other resources management (creation, destruction etc..)
Ansible: Configuration management (installing all the required packages)
K8s: Apps deployment
Jenkins: CI/CD with Gitlab
I want to know what do you guys think about this stack? Are better ways to do what I want to acheive? I am not a devops expert and I want to have a reference from more experienced folks.
Thanks in advance
https://redd.it/lkenwy
@r_devops
Hi all,
I am strating to automate the infrastructure and the configuration for a personal project. And I am using the following tools:
Terraform: AWS EC2 instances, RDS and other resources management (creation, destruction etc..)
Ansible: Configuration management (installing all the required packages)
K8s: Apps deployment
Jenkins: CI/CD with Gitlab
I want to know what do you guys think about this stack? Are better ways to do what I want to acheive? I am not a devops expert and I want to have a reference from more experienced folks.
Thanks in advance
https://redd.it/lkenwy
@r_devops
reddit
[Advice Request] Infrastructure + Configuration + Deployment...
Hi all, I am strating to automate the infrastructure and the configuration for a personal project. And I am using the following tools: *...
How to improve?
Hi!
How do you guys improve yourselves for your job? does your company give you any tools/resources to do so? how did you guys manage or managed when you started working?
https://redd.it/lkea0p
@r_devops
Hi!
How do you guys improve yourselves for your job? does your company give you any tools/resources to do so? how did you guys manage or managed when you started working?
https://redd.it/lkea0p
@r_devops
reddit
How to improve?
Hi! How do you guys improve yourselves for your job? does your company give you any tools/resources to do so? how did you guys manage or managed...
The role of "Devops Engineer" in 2021?
Hi all! I'm going to be interviewed for a position with title Devops Engineer, which is a bit controversial since devops should be a practice/way of working instead of separate role or position. Based on the requirements on job ad, it looks more like a cloud infrastucture engineer since technologies like AWS, Kubernetes, Terraform etc. were mentioned alongside CI/CD, Golang, ELK etc.
The question is, what would you expect from a role like this in 2021 and what questions would you ask to clarify the job responsibilities? I have a background in backend development with lots of cloudy+devopsy stuff which I like, but I like coding a lot too and wouldn't want to drop it completely.
https://redd.it/lkcakv
@r_devops
Hi all! I'm going to be interviewed for a position with title Devops Engineer, which is a bit controversial since devops should be a practice/way of working instead of separate role or position. Based on the requirements on job ad, it looks more like a cloud infrastucture engineer since technologies like AWS, Kubernetes, Terraform etc. were mentioned alongside CI/CD, Golang, ELK etc.
The question is, what would you expect from a role like this in 2021 and what questions would you ask to clarify the job responsibilities? I have a background in backend development with lots of cloudy+devopsy stuff which I like, but I like coding a lot too and wouldn't want to drop it completely.
https://redd.it/lkcakv
@r_devops
reddit
The role of "Devops Engineer" in 2021?
Hi all! I'm going to be interviewed for a position with title Devops Engineer, which is a bit controversial since devops should be a practice/way...
Modernizing Workflow
Hello everyone,
at work I am part of a two-man IT/development/sysadmin/... team supporting a team of academics. Two main tasks I am tackling are:
1. development of small, one-shot web apps that need to be hosted indefinitely
2. Continuous development of larger web apps
Both are hosted on-premise, my publish workflow currently consists of:
1. Marking a new release via a git tag
2. Have Gitlab-CI create docker images for me
3. Use SaltStack to manually update which container version runs on a single Docker host. Some HA is achieved by the hypervisor which runs the Docker host.
4. Manually update ports/hostname in the Apache reverse proxy.
While this works ok, I feel I need some advice into modernizing this workflow. All the manual pushing/updating is very error-prone and slow while I am finding it hard to monitor all these apps, especially the ones that are out of development.
Additionally, I find myself needing to run batch jobs (on schedule or triggered by data transfers) that are either Python or Fortran code with a complex chain of dependencies. I thought about making my app start Docker containers with pre-prepared images containing required libraries but I am not sure how to approach this.
Will using something like Nomad/Consul or Kubernetes make all this easier to work with? Especially the deployment and monitoring workflow. Most of this stuff is not critical (production-lite) as of now so it's easy to try various stuff.
https://redd.it/lk9vhm
@r_devops
Hello everyone,
at work I am part of a two-man IT/development/sysadmin/... team supporting a team of academics. Two main tasks I am tackling are:
1. development of small, one-shot web apps that need to be hosted indefinitely
2. Continuous development of larger web apps
Both are hosted on-premise, my publish workflow currently consists of:
1. Marking a new release via a git tag
2. Have Gitlab-CI create docker images for me
3. Use SaltStack to manually update which container version runs on a single Docker host. Some HA is achieved by the hypervisor which runs the Docker host.
4. Manually update ports/hostname in the Apache reverse proxy.
While this works ok, I feel I need some advice into modernizing this workflow. All the manual pushing/updating is very error-prone and slow while I am finding it hard to monitor all these apps, especially the ones that are out of development.
Additionally, I find myself needing to run batch jobs (on schedule or triggered by data transfers) that are either Python or Fortran code with a complex chain of dependencies. I thought about making my app start Docker containers with pre-prepared images containing required libraries but I am not sure how to approach this.
Will using something like Nomad/Consul or Kubernetes make all this easier to work with? Especially the deployment and monitoring workflow. Most of this stuff is not critical (production-lite) as of now so it's easy to try various stuff.
https://redd.it/lk9vhm
@r_devops
reddit
Modernizing Workflow
Hello everyone, at work I am part of a two-man IT/development/sysadmin/... team supporting a team of academics. Two main tasks I am tackling...
Managing Azure DevOps Service Principals
I have written up a simple blog post on how to reconfigure Service Principals so they are clearer and have better security within Azure DevOps. Hope this helps some people
https://jamescook.dev/cleanup-azure-devops-service-principals
https://redd.it/lkb59p
@r_devops
I have written up a simple blog post on how to reconfigure Service Principals so they are clearer and have better security within Azure DevOps. Hope this helps some people
https://jamescook.dev/cleanup-azure-devops-service-principals
https://redd.it/lkb59p
@r_devops
James Cook's Blog
Cleanup your Azure DevOps Service Principals
Tips on managing your Azure Service Principals within DevOps
biggest struggles as a software developer (all levels)
Hi,
which are your main struggles as software developers?
https://redd.it/lke7v2
@r_devops
Hi,
which are your main struggles as software developers?
https://redd.it/lke7v2
@r_devops
reddit
biggest struggles as a software developer (all levels)
Hi, which are your main struggles as software developers?
Stderr monitoring in k8s
Hello guys, i was talking with few developers from my company today and they asked me is there a way to get alerts via slack when there is an error in deployment, all of the things i can think of atm are metrics only, do you have any idea what would be the best way to handle something like that? I would like to avoid having some 3rd party apps like slack bots having access to my namespaces and pods, I also deployed ELK a few weeks ago, so is there maybe some elk alerting service that would come in handy?
Thank you!
https://redd.it/lkogzq
@r_devops
Hello guys, i was talking with few developers from my company today and they asked me is there a way to get alerts via slack when there is an error in deployment, all of the things i can think of atm are metrics only, do you have any idea what would be the best way to handle something like that? I would like to avoid having some 3rd party apps like slack bots having access to my namespaces and pods, I also deployed ELK a few weeks ago, so is there maybe some elk alerting service that would come in handy?
Thank you!
https://redd.it/lkogzq
@r_devops
reddit
Stderr monitoring in k8s
Hello guys, i was talking with few developers from my company today and they asked me is there a way to get alerts via slack when there is an...
Curated GitHub repository on how organisations around the world practice SRE and DevOps
I’m curating engineering blog posts, videos and other cool resources on Site Reliability Engineering ans DevOps in a GitHub repository
https://github.com/upgundecha/howtheysre
https://redd.it/lkr952
@r_devops
I’m curating engineering blog posts, videos and other cool resources on Site Reliability Engineering ans DevOps in a GitHub repository
https://github.com/upgundecha/howtheysre
https://redd.it/lkr952
@r_devops
GitHub
GitHub - upgundecha/howtheysre: A curated collection of publicly available resources on how technology and tech-savvy organizations…
A curated collection of publicly available resources on how technology and tech-savvy organizations around the world practice Site Reliability Engineering (SRE) - upgundecha/howtheysre
What are some must know technologies for devops?
I am learning devops after being a developer and I want to know what are the must know technologies and which ones I should start with learning first and are the most essential and which are the least essential and anything in between. I am currently learning docker and jenkins. I have heard some about kuberneties and terraform but not sure how important it is to have each in a server.
https://redd.it/lksygo
@r_devops
I am learning devops after being a developer and I want to know what are the must know technologies and which ones I should start with learning first and are the most essential and which are the least essential and anything in between. I am currently learning docker and jenkins. I have heard some about kuberneties and terraform but not sure how important it is to have each in a server.
https://redd.it/lksygo
@r_devops
reddit
What are some must know technologies for devops?
I am learning devops after being a developer and I want to know what are the must know technologies and which ones I should start with learning...
CircleCI vs Jenkins
Just wanted to know if CircleCI was offering something new that Jenkins hasn't offered before??
https://redd.it/lklsrn
@r_devops
Just wanted to know if CircleCI was offering something new that Jenkins hasn't offered before??
https://redd.it/lklsrn
@r_devops
reddit
CircleCI vs Jenkins
Just wanted to know if CircleCI was offering something new that Jenkins hasn't offered before??
Estimate cost per user for cloud infrastructure
Lets say that I have a product which allows users to sign up and sell personal services (think craigslist..etc). How do I estimate cost per user, cost per month..etc.
Basically, I am trying to figure out, how much should I be charging user so that I am atleast breaking even, and I want this trend to scale with users.
Is there a formula or other tools that allow to do this end to end cost estimation and growth simulation ?
https://redd.it/lko5ym
@r_devops
Lets say that I have a product which allows users to sign up and sell personal services (think craigslist..etc). How do I estimate cost per user, cost per month..etc.
Basically, I am trying to figure out, how much should I be charging user so that I am atleast breaking even, and I want this trend to scale with users.
Is there a formula or other tools that allow to do this end to end cost estimation and growth simulation ?
https://redd.it/lko5ym
@r_devops
reddit
Estimate cost per user for cloud infrastructure
Lets say that I have a product which allows users to sign up and sell personal services (think craigslist..etc). How do I estimate cost per user,...
K8s & Consul - Avoid cross-DC/AZ traffic
I have huge app in Kubernetes with about 90 containers on 5 k8s worker nodes. Nodes are spread between Availability Zones in AWS, like that:
node1 - AZ-A
node2 - AZ-A
node3 - AZ-B
node4 - AZ-B
node5 - AZ-C
Also, I got many small apps which use API from that huge app. All apps use external/public host of that app, so actually all traffic between apps goes through ELB.
I can use internal Kubernetes hostnames (now we got coreDNS), but I would like to avoid cross-zone traffic, so how can I implement consul to be AZ aware and prefer traffic between pods in the same AZ, e.g.
Diagram
Something similar but with HAProxy and Redis:
https://medium.com/helpshift-engineering/saving-inter-zone-transfer-costs-in-ec2-with-haproxy-c4217ac2ca04
https://redd.it/lkkeat
@r_devops
I have huge app in Kubernetes with about 90 containers on 5 k8s worker nodes. Nodes are spread between Availability Zones in AWS, like that:
node1 - AZ-A
node2 - AZ-A
node3 - AZ-B
node4 - AZ-B
node5 - AZ-C
Also, I got many small apps which use API from that huge app. All apps use external/public host of that app, so actually all traffic between apps goes through ELB.
I can use internal Kubernetes hostnames (now we got coreDNS), but I would like to avoid cross-zone traffic, so how can I implement consul to be AZ aware and prefer traffic between pods in the same AZ, e.g.
Diagram
Something similar but with HAProxy and Redis:
https://medium.com/helpshift-engineering/saving-inter-zone-transfer-costs-in-ec2-with-haproxy-c4217ac2ca04
https://redd.it/lkkeat
@r_devops
Where to get help?
Where to get help if you get stuck using or learning devops solutions? For example: Ansible, Jenkins...etc
The reason I am asking is for the past 2 days, Ansible wouldn't run playbooks for me. It took me 2 days to figure out the problem Which is that i installed the needed libraries for python3 while ansible was running on python2.
https://redd.it/lkkdtd
@r_devops
Where to get help if you get stuck using or learning devops solutions? For example: Ansible, Jenkins...etc
The reason I am asking is for the past 2 days, Ansible wouldn't run playbooks for me. It took me 2 days to figure out the problem Which is that i installed the needed libraries for python3 while ansible was running on python2.
https://redd.it/lkkdtd
@r_devops
reddit
Where to get help?
Where to get help if you get stuck using or learning devops solutions? For example: Ansible, Jenkins...etc The reason I am asking is for the...
Azure DevOps Demo Generator
Just starting poking around here in this subreddit and I suspect I may be spending a lot of time digging around in here the next few months. :) I just stumbled into this Azure DevOps Demo Generator article from a few days ago and thought I'd share it in case anyone else finds it helpful.
The Azure DevOps Demo Generator | Azure DevOps Blog (microsoft.com)
Also just a side note, I'm aware Microsoft's unfortunate naming of "Azure DevOps" the tool is confusing along side general "DevOps" concepts of technologies LOL...but if you're someone in Microsoft's bubble, it's like a tool you'll likely end up running into.
https://redd.it/lky7hg
@r_devops
Just starting poking around here in this subreddit and I suspect I may be spending a lot of time digging around in here the next few months. :) I just stumbled into this Azure DevOps Demo Generator article from a few days ago and thought I'd share it in case anyone else finds it helpful.
The Azure DevOps Demo Generator | Azure DevOps Blog (microsoft.com)
Also just a side note, I'm aware Microsoft's unfortunate naming of "Azure DevOps" the tool is confusing along side general "DevOps" concepts of technologies LOL...but if you're someone in Microsoft's bubble, it's like a tool you'll likely end up running into.
https://redd.it/lky7hg
@r_devops
Azure DevOps Blog
The Azure DevOps Demo Generator | Azure DevOps Blog
The Azure DevOps Demo Generator is a fantastic tool that can help you provision Azure DevOps projects complete with sample data or a starting point. I recently sat down with Nagaraj Bhairaji from the team that built the tool. Check it out.