Deploy ROR application on ubuntu VM using Capistrano and Gitlab CI/CD
I am getting the below error when I deployed the Ruby application on Ubuntu VM using GitLab ci errorNet::SSH::AuthenticationFailed: Authentication failed for user **[email protected]**
Here is my Gitlab ci
deploy:
stage: deploy
script:
- which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )
- eval $(ssh-agent -s)- echo "$SSHPRIVATEKEY" | ssh-add -
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- bundle install --jobs $(nproc) "${FLAGS@}"
- gem install capistrano
- gem install net-ssh --pre
- cap production deploy
I can access the deployment server from GitLab runner and I have also put the Deploy server private key in the GitLab variable.
Please let me know where I am doing wrong or am I missing any step? I have followed the below link but it not working as expected
https://medium.com/2glab/gitlab-continuous-delivery-with-capistrano-169055a6da51
https://redd.it/ns4ais
@r_devops
I am getting the below error when I deployed the Ruby application on Ubuntu VM using GitLab ci errorNet::SSH::AuthenticationFailed: Authentication failed for user **[email protected]**
Here is my Gitlab ci
deploy:
stage: deploy
script:
- which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )
- eval $(ssh-agent -s)- echo "$SSHPRIVATEKEY" | ssh-add -
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- bundle install --jobs $(nproc) "${FLAGS@}"
- gem install capistrano
- gem install net-ssh --pre
- cap production deploy
I can access the deployment server from GitLab runner and I have also put the Deploy server private key in the GitLab variable.
Please let me know where I am doing wrong or am I missing any step? I have followed the below link but it not working as expected
https://medium.com/2glab/gitlab-continuous-delivery-with-capistrano-169055a6da51
https://redd.it/ns4ais
@r_devops
Medium
GitLab Continuous Delivery with Capistrano
Moving swiftly and ceaselessly through the development and delivering updates and new features as soon as possible and pretty much with all…
Where to begin with setting up TeamCity with existing AWS-Serverless project?
Hello,
I'm new to CI/CD, and I'm trying to gain experience with it by incorporating it into a side-project I have. I would like to set up TeamCity as it's what my company uses almost universally, and I'd like to expand my skill-set. Currently, I'm using the Serverless framework for my mono-repo, alongside a script that builds and deploys all relevant AWS services and the React front-end, but I have no idea where to begin in regards to TeamCity. I followed a Udemy tutorial to the T and the TeamCity setup refused to connect to an RDS DB I had created for the purpose of the tutorial.
​
I've tried searching for relevant tutorials/guides on how to start using TeamCity with my project but one downside of naming a framework after a computing model is that Google only seems to spit out irrelevant results...
​
Any pointers or information that could point me in the right direction would be greatly appreciated.
If there's anything I've missed please do not hesitate to ask, I'm still somewhat new to AWS in general and do not have any pre-existing experience with CI/CD.
https://redd.it/ns3gn7
@r_devops
Hello,
I'm new to CI/CD, and I'm trying to gain experience with it by incorporating it into a side-project I have. I would like to set up TeamCity as it's what my company uses almost universally, and I'd like to expand my skill-set. Currently, I'm using the Serverless framework for my mono-repo, alongside a script that builds and deploys all relevant AWS services and the React front-end, but I have no idea where to begin in regards to TeamCity. I followed a Udemy tutorial to the T and the TeamCity setup refused to connect to an RDS DB I had created for the purpose of the tutorial.
​
I've tried searching for relevant tutorials/guides on how to start using TeamCity with my project but one downside of naming a framework after a computing model is that Google only seems to spit out irrelevant results...
​
Any pointers or information that could point me in the right direction would be greatly appreciated.
If there's anything I've missed please do not hesitate to ask, I'm still somewhat new to AWS in general and do not have any pre-existing experience with CI/CD.
https://redd.it/ns3gn7
@r_devops
Exposing Custom Resource Statuses outside of a cluster
This might be an odd question, so apologies if it's off the wall.
In our world of GitOps, we have a variety of checks and balances that go into every Merge/Pull Request.
Once a requested change to the end system is merged to master/main, we rely on operators to pull git templates and customer input to push into etc.d, where another operator makes the API calls to the end system from the custom resources.
Does anyone have any thoughts on how to expose the custom resource statuses to an external dashboard? We're using GKE in Google Cloud and the native dashboards don't expose this information very well. The operators also don't expose the state of the customer resources via metrics very well either.
Just curious if there is a pattern we should use to expose this data outside of the cluster to (perhaps) a prometheus/grafana stack?
https://redd.it/nq5bas
@r_devops
This might be an odd question, so apologies if it's off the wall.
In our world of GitOps, we have a variety of checks and balances that go into every Merge/Pull Request.
Once a requested change to the end system is merged to master/main, we rely on operators to pull git templates and customer input to push into etc.d, where another operator makes the API calls to the end system from the custom resources.
Does anyone have any thoughts on how to expose the custom resource statuses to an external dashboard? We're using GKE in Google Cloud and the native dashboards don't expose this information very well. The operators also don't expose the state of the customer resources via metrics very well either.
Just curious if there is a pattern we should use to expose this data outside of the cluster to (perhaps) a prometheus/grafana stack?
https://redd.it/nq5bas
@r_devops
reddit
Exposing Custom Resource Statuses outside of a cluster
This might be an odd question, so apologies if it's off the wall. In our world of GitOps, we have a variety of checks and balances that go into...
AWS NLB stuck on pending on new KOPS cluster
I have a new KOPS cluster I created today and am trying to get the cluster to apply a NLB so I can have my ingress work. I am using the YAML provided here: https://kubernetes.github.io/ingress-nginx/deploy/#aws \- I have taken the file and split it up into it's own sections and all depoys fine. Nothing wrong except the service for the load balancer is stuck in the pending stage and describing the service does nothing useful other than tell me how long it has been in that state.
Bottom of describe
Normal EnsuringLoadBalancer 103s (x47 over 3h27m) service-controller Ensuring load balancer
My ingress.yaml file
apiVersion: networking.k8s.io/v1beta1
# apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
# add an annotation indicating the issuer to use.
kubernetes.io/ingress.class: "nginx"
cert-manager.io/cluster-issuer: "letsencrypt-stage"
# needed to allow the front end to talk to the back end
nginx.ingress.kubernetes.io/cors-allow-origin: "https://api.dev.mydomain.ca"
nginx.ingress.kubernetes.io/cors-allow-credentials: "true"
nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/cors-allow-methods: "GET, PUT, POST, DELETE, PATCH, OPTIONS"
# needed for monitoring - maybe
prometheus.io/scrape: "true"
prometheus.io/port: "10254"
#for nginx ingress controller
ad.datadoghq.com/nginx-ingress-controller.checknames: '["nginx","nginxingresscontroller"]'
ad.datadoghq.com/nginx-ingress-controller.initconfigs: '{},{}'
ad.datadoghq.com/nginx-ingress-controller.instances: '{"nginx_status_url": "https://%%host%%:18080/nginx_status"},{"prometheus_url": "https://%%host%%:10254/metrics"}'
ad.datadoghq.com/nginx-ingress-controller.logs: '{"service": "controller", "source":"nginx-ingress-controller"}'
name: nginx-ingress
namespace: custom-namespace
spec:
rules:
- host: api.dev.mydomain.ca
http:
paths:
- backend:
serviceName: express-api
servicePort: 8090
path: /
- host: socket.dev.mydomain.ca
http:
paths:
- backend:
serviceName: socketio
servicePort: 9000
path: /
tls:
- hosts:
- api.dev.mydomain.ca
secretName: express-ingress-cert
- hosts:
- socket.dev.mydomain.ca
secretName: socket-ingress-cert
I am wondering how I can get an NLB to provision and allow me to point DNS at it and have the above ingress resource direct traffic where it needs to go.
https://redd.it/nq7yie
@r_devops
I have a new KOPS cluster I created today and am trying to get the cluster to apply a NLB so I can have my ingress work. I am using the YAML provided here: https://kubernetes.github.io/ingress-nginx/deploy/#aws \- I have taken the file and split it up into it's own sections and all depoys fine. Nothing wrong except the service for the load balancer is stuck in the pending stage and describing the service does nothing useful other than tell me how long it has been in that state.
Bottom of describe
Normal EnsuringLoadBalancer 103s (x47 over 3h27m) service-controller Ensuring load balancer
My ingress.yaml file
apiVersion: networking.k8s.io/v1beta1
# apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
# add an annotation indicating the issuer to use.
kubernetes.io/ingress.class: "nginx"
cert-manager.io/cluster-issuer: "letsencrypt-stage"
# needed to allow the front end to talk to the back end
nginx.ingress.kubernetes.io/cors-allow-origin: "https://api.dev.mydomain.ca"
nginx.ingress.kubernetes.io/cors-allow-credentials: "true"
nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/cors-allow-methods: "GET, PUT, POST, DELETE, PATCH, OPTIONS"
# needed for monitoring - maybe
prometheus.io/scrape: "true"
prometheus.io/port: "10254"
#for nginx ingress controller
ad.datadoghq.com/nginx-ingress-controller.checknames: '["nginx","nginxingresscontroller"]'
ad.datadoghq.com/nginx-ingress-controller.initconfigs: '{},{}'
ad.datadoghq.com/nginx-ingress-controller.instances: '{"nginx_status_url": "https://%%host%%:18080/nginx_status"},{"prometheus_url": "https://%%host%%:10254/metrics"}'
ad.datadoghq.com/nginx-ingress-controller.logs: '{"service": "controller", "source":"nginx-ingress-controller"}'
name: nginx-ingress
namespace: custom-namespace
spec:
rules:
- host: api.dev.mydomain.ca
http:
paths:
- backend:
serviceName: express-api
servicePort: 8090
path: /
- host: socket.dev.mydomain.ca
http:
paths:
- backend:
serviceName: socketio
servicePort: 9000
path: /
tls:
- hosts:
- api.dev.mydomain.ca
secretName: express-ingress-cert
- hosts:
- socket.dev.mydomain.ca
secretName: socket-ingress-cert
I am wondering how I can get an NLB to provision and allow me to point DNS at it and have the above ingress resource direct traffic where it needs to go.
https://redd.it/nq7yie
@r_devops
Manychat
When using manychat ( fb messenger chat bot ) how to publish the bot and make it work ? Ps : I published the flows but still didn't work when someone text the page .
https://redd.it/nq6orn
@r_devops
When using manychat ( fb messenger chat bot ) how to publish the bot and make it work ? Ps : I published the flows but still didn't work when someone text the page .
https://redd.it/nq6orn
@r_devops
reddit
Manychat
When using manychat ( fb messenger chat bot ) how to publish the bot and make it work ? Ps : I published the flows but still didn't work when...
How to use strace on threads managed by supervisor? i.e. i want to ´supervisorctl restart someService´ and strace someService.
This would be great for debugging and for understanding the system i am working on better. A core mechanism of our system is a collection of services started and restarted using supervisor and I would like to use strace to see that system calls these processes make.
I think it is possible to look up the PID of a already running process and then hook strace onto it, but this will miss the first system calls of the process and I would like to get them all.
Any suggestions?
https://redd.it/nshax6
@r_devops
This would be great for debugging and for understanding the system i am working on better. A core mechanism of our system is a collection of services started and restarted using supervisor and I would like to use strace to see that system calls these processes make.
I think it is possible to look up the PID of a already running process and then hook strace onto it, but this will miss the first system calls of the process and I would like to get them all.
Any suggestions?
https://redd.it/nshax6
@r_devops
reddit
How to use strace on threads managed by supervisor? i.e. i want to...
This would be great for debugging and for understanding the system i am working on better. A core mechanism of our system is a collection of...
What are some good tutorials that would allow you to add a little CI/CD scripts or pipeline to any project?
What are some good tutorials that would allow you to add a little CI/CD scripts or pipeline to any project? Looking for some recipes that can be used in almost any project be it backend or frontend.
https://redd.it/nsiylk
@r_devops
What are some good tutorials that would allow you to add a little CI/CD scripts or pipeline to any project? Looking for some recipes that can be used in almost any project be it backend or frontend.
https://redd.it/nsiylk
@r_devops
reddit
What are some good tutorials that would allow you to add a little...
What are some good tutorials that would allow you to add a little CI/CD scripts or pipeline to any project? Looking for some recipes that can be...
Managing Windows VM Cloud Node Images question.
Hello I am a devops engineer. My company uses Jenkins for CI and we use Openstack cloud nodes as our build nodes.
As a result of this my department handles building our Linux and Windows VM images to be used on these cloud nodes.
The problem I am running into is the sheer amount of installations on the Windows nodes is crazy. We use a SCCM Task List that IT manages and that task list has over 350 steps for our image alone.
How do you manage to keep images a reasonable size and deliver in a timely manner for your developers. For reference the company I work at is heavy on the embedded device side.
Any advice would help. Although I would prefer more in-depth advice than (SCCM is old use Chocolaty).
Thank you for your time.
https://redd.it/nsigfj
@r_devops
Hello I am a devops engineer. My company uses Jenkins for CI and we use Openstack cloud nodes as our build nodes.
As a result of this my department handles building our Linux and Windows VM images to be used on these cloud nodes.
The problem I am running into is the sheer amount of installations on the Windows nodes is crazy. We use a SCCM Task List that IT manages and that task list has over 350 steps for our image alone.
How do you manage to keep images a reasonable size and deliver in a timely manner for your developers. For reference the company I work at is heavy on the embedded device side.
Any advice would help. Although I would prefer more in-depth advice than (SCCM is old use Chocolaty).
Thank you for your time.
https://redd.it/nsigfj
@r_devops
reddit
Managing Windows VM Cloud Node Images question.
Hello I am a devops engineer. My company uses Jenkins for CI and we use Openstack cloud nodes as our build nodes. As a result of this my...
Looking for work experience
Hi all
I am between a rock and a hard place and can't seem to get myself out of a situation.
I am transitioning into tech from the oil and gas industry as a metallurgist.
I have successfully completed the AWS solutions architect exam. I have also undertook training on docker, python, cloudformation but can't seem to land my first role even as a junior.
I wanted to ask the community if anyone is willing to give me some work experience. I have already lost 1.5 years because of covid and I am desperately trying to secure some work. I do not need paid work (although that would be nice) but a 3 month project would be really beneficial.
https://redd.it/nsdkz9
@r_devops
Hi all
I am between a rock and a hard place and can't seem to get myself out of a situation.
I am transitioning into tech from the oil and gas industry as a metallurgist.
I have successfully completed the AWS solutions architect exam. I have also undertook training on docker, python, cloudformation but can't seem to land my first role even as a junior.
I wanted to ask the community if anyone is willing to give me some work experience. I have already lost 1.5 years because of covid and I am desperately trying to secure some work. I do not need paid work (although that would be nice) but a 3 month project would be really beneficial.
https://redd.it/nsdkz9
@r_devops
reddit
Looking for work experience
Hi all I am between a rock and a hard place and can't seem to get myself out of a situation. I am transitioning into tech from the oil and gas...
Dev site being attacked, cant access certain parts of CMS
I have 2 sites hosted on Azure setup as an App Service with a Front door. One site is the Dev site, the other is the prod site. They are getting hit within milliseconds and anon contacts are being created in the database and the DB is growing to be huge. Its slowing everything down and the CMS is difficult to access.
What should I do to protect the dev and the prod sites from these attacks that wont break the bank?
The people that work on the sites work remotely and the IPs they have can change depending on where they are.
Is there a way to get the IPs of the bot and block it via Azure?
https://redd.it/ns920z
@r_devops
I have 2 sites hosted on Azure setup as an App Service with a Front door. One site is the Dev site, the other is the prod site. They are getting hit within milliseconds and anon contacts are being created in the database and the DB is growing to be huge. Its slowing everything down and the CMS is difficult to access.
What should I do to protect the dev and the prod sites from these attacks that wont break the bank?
The people that work on the sites work remotely and the IPs they have can change depending on where they are.
Is there a way to get the IPs of the bot and block it via Azure?
https://redd.it/ns920z
@r_devops
reddit
Dev site being attacked, cant access certain parts of CMS
I have 2 sites hosted on Azure setup as an App Service with a Front door. One site is the Dev site, the other is the prod site. They are getting...
Python use cases for devops
Hi guys I have been learning python lately
Is there a practical use case of python which you are doing in your work am not asking about development
I need to know the use cases in the ops side of things
Whenever I automate something I always shell it been shell scripting for several years so it comes automatically
Anyone tried replacing shell with python ?
Any good examples of that sort please
https://redd.it/ns8yp3
@r_devops
Hi guys I have been learning python lately
Is there a practical use case of python which you are doing in your work am not asking about development
I need to know the use cases in the ops side of things
Whenever I automate something I always shell it been shell scripting for several years so it comes automatically
Anyone tried replacing shell with python ?
Any good examples of that sort please
https://redd.it/ns8yp3
@r_devops
reddit
Python use cases for devops
Hi guys I have been learning python lately Is there a practical use case of python which you are doing in your work am not asking about...
Puppet and Openshift?
Good afternoon /r/devops,
I have a question about puppet in regarding how it’s configured ideally in a openshift environment. From my general understanding isn’t Ansible better within openshift? I ask because for this job description within applying lately it states typical Linux system admin requirements but additionally states; preferable knowledge of “puppet and openshift”
So I am assuming their environments are most likely in the cloud going on a whim but not understanding the caveat of why use puppet with openshift instead of ansible ( I thought ansible was more used with openshift ). Additionally architecture wise, in a clustered environment within the cloud; is it common practice to have your masters separate from your workers to talk?
Example; would master 1, 2, 3, talk to workers a, b, c using the puppet files and have kubernetes configs within those same files?
Sorry if this is some noob question but I’m trying to really grasp the higher level of this so it clicks better and makes sense on why you would use X over Y thing. Analogies, differences, are welcomed. Thanks a lot!
https://redd.it/nt5dub
@r_devops
Good afternoon /r/devops,
I have a question about puppet in regarding how it’s configured ideally in a openshift environment. From my general understanding isn’t Ansible better within openshift? I ask because for this job description within applying lately it states typical Linux system admin requirements but additionally states; preferable knowledge of “puppet and openshift”
So I am assuming their environments are most likely in the cloud going on a whim but not understanding the caveat of why use puppet with openshift instead of ansible ( I thought ansible was more used with openshift ). Additionally architecture wise, in a clustered environment within the cloud; is it common practice to have your masters separate from your workers to talk?
Example; would master 1, 2, 3, talk to workers a, b, c using the puppet files and have kubernetes configs within those same files?
Sorry if this is some noob question but I’m trying to really grasp the higher level of this so it clicks better and makes sense on why you would use X over Y thing. Analogies, differences, are welcomed. Thanks a lot!
https://redd.it/nt5dub
@r_devops
reddit
Puppet and Openshift?
Good afternoon /r/devops, I have a question about puppet in regarding how it’s configured ideally in a openshift environment. From my general...
Automating database migration with CI/CD
Hi there. I like to automate deployment steps in our repos. Our current pipeline supports fully automated deployment of the software to our k8s cluster. But there's a catch. We have to manually migrate database before merging codebase to main tree. I'm currently using GitHub Actions for executing pipeline jobs. Previously used GitLab CI and also tried Azure DevOps but GitHub feels a bit more friendly to me (also has lots of community provided jobs on market).
So, I wonder if there's a way (I'm sure there's) to automate database migration steps in CI? How is it done usually? Any tips or links would be appreciated.
A bit more details:
We are using "code first migration" to migrate database manually. So It should be easy to execute the actual migration part. I just want to learn more about security and best practices about that before actually applying this. I'll probably create a workflow with dispatch_job trigger to manually trigger migration steps. But I haven't yet figured out how should I securely connect to database to do migration or should I do migration from our k8s cluster by somehow creating one time job to do the migration. I'm currently just exploring the possibilities...
Thanks
https://redd.it/nt0n6j
@r_devops
Hi there. I like to automate deployment steps in our repos. Our current pipeline supports fully automated deployment of the software to our k8s cluster. But there's a catch. We have to manually migrate database before merging codebase to main tree. I'm currently using GitHub Actions for executing pipeline jobs. Previously used GitLab CI and also tried Azure DevOps but GitHub feels a bit more friendly to me (also has lots of community provided jobs on market).
So, I wonder if there's a way (I'm sure there's) to automate database migration steps in CI? How is it done usually? Any tips or links would be appreciated.
A bit more details:
We are using "code first migration" to migrate database manually. So It should be easy to execute the actual migration part. I just want to learn more about security and best practices about that before actually applying this. I'll probably create a workflow with dispatch_job trigger to manually trigger migration steps. But I haven't yet figured out how should I securely connect to database to do migration or should I do migration from our k8s cluster by somehow creating one time job to do the migration. I'm currently just exploring the possibilities...
Thanks
https://redd.it/nt0n6j
@r_devops
The GitHub Blog
GitHub Actions: Manual triggers with workflow_dispatch - GitHub Changelog
You can now create workflows that are manually triggered with the new workflow_dispatch event. You will then see a ‘Run workflow’ button on the Actions tab, enabling you to easily…
Troubleshooting a question
**How would you go about troubleshooting a server that is down?**
* Check the server logs to see if you can find anything event that might have shut down the server it.
* Reboot the server and see if that fixes the issue
* Check network connectivity by pinging another server on the network.
https://redd.it/nt8a7s
@r_devops
**How would you go about troubleshooting a server that is down?**
* Check the server logs to see if you can find anything event that might have shut down the server it.
* Reboot the server and see if that fixes the issue
* Check network connectivity by pinging another server on the network.
https://redd.it/nt8a7s
@r_devops
reddit
Troubleshooting a question
**How would you go about troubleshooting a server that is down?** * Check the server logs to see if you can find anything event that might have...
Automate Setting Up WordPress Server
Hey folks, my friend who I'm helping set up his Wordpress site had me do these steps three times already and I want to automate it:
1. Spin up an EC2 instance with Bitnami Wordpress as its AMI
2. Download its keypair
3. Create elastic IP and associate with EC2
4. Assign elastic IP to DNS record on Route 53
5. Get Wordpress password from EC2 system log
6. Use bncert tool on EC2 CLI to enable https on Wordpress site
Could someone please help me determine what DevOps tool should I use for each step?
https://redd.it/nsy9e6
@r_devops
Hey folks, my friend who I'm helping set up his Wordpress site had me do these steps three times already and I want to automate it:
1. Spin up an EC2 instance with Bitnami Wordpress as its AMI
2. Download its keypair
3. Create elastic IP and associate with EC2
4. Assign elastic IP to DNS record on Route 53
5. Get Wordpress password from EC2 system log
6. Use bncert tool on EC2 CLI to enable https on Wordpress site
Could someone please help me determine what DevOps tool should I use for each step?
https://redd.it/nsy9e6
@r_devops
reddit
Automate Setting Up WordPress Server
Hey folks, my friend who I'm helping set up his Wordpress site had me do these steps three times already and I want to automate it: 1. Spin up an...
Transition from Devops to Security Role
I came across a role for an Information security engineer but with Devops experience as they would be applying/evaluating security for AWS/GKE etc.
I wanted to see if anyone else made the transition and how interesting is the security role as compared to working on challenging projects in devops?
Security role entails applying security practices to teams building on AWS/GKE and wanted to get a better perspective on the role and what this means
https://redd.it/nsy6t1
@r_devops
I came across a role for an Information security engineer but with Devops experience as they would be applying/evaluating security for AWS/GKE etc.
I wanted to see if anyone else made the transition and how interesting is the security role as compared to working on challenging projects in devops?
Security role entails applying security practices to teams building on AWS/GKE and wanted to get a better perspective on the role and what this means
https://redd.it/nsy6t1
@r_devops
reddit
Transition from Devops to Security Role
I came across a role for an Information security engineer but with Devops experience as they would be applying/evaluating security for AWS/GKE...
What are some good devops course for React and Node apps?
What are some good devops course for React apps? Need some recipes I can apply to React and Node projects.
https://redd.it/nsvfqq
@r_devops
What are some good devops course for React apps? Need some recipes I can apply to React and Node projects.
https://redd.it/nsvfqq
@r_devops
reddit
What are some good devops course for React and Node apps?
What are some good devops course for React apps? Need some recipes I can apply to React and Node projects.
What it means to run a monolith on AWS Lambda
Over the course of 4 years I steered the DevOps culture in the company I work from EC2 to ECS + Fargate and finally to AWS Lambda, leading to better code that survives ephemeral environments, improved release practices, continuous delivery and cost reduction. I recently wrote a great piece on my experience running a monolith on AWS Lambda for the past 2 years.
https://blog.deleu.dev/what-it-means-to-run-a-monolith-on-aws-lambda/
https://redd.it/nst4iu
@r_devops
Over the course of 4 years I steered the DevOps culture in the company I work from EC2 to ECS + Fargate and finally to AWS Lambda, leading to better code that survives ephemeral environments, improved release practices, continuous delivery and cost reduction. I recently wrote a great piece on my experience running a monolith on AWS Lambda for the past 2 years.
https://blog.deleu.dev/what-it-means-to-run-a-monolith-on-aws-lambda/
https://redd.it/nst4iu
@r_devops
blog.deleu.dev
What it means to run a monolith on AWS Lambda
A stable software development model combined with the elasticity of serverless solutions.
Managing Action Approvals with GitHub Actions
I'm a huge fan of GitHub Actions, after years of using every CI/CD tool under the sun, I see Actions as truly innovative and for the most part that's because of the Actions interface and ecosystem.
However, it is a whole new threat vector, I now have teams pulling in God knows what Actions that they've found online. And that is usually fine because there are tons of useful and free projects to choose from but it's a mirror of the import/dependency problem in repo source code. Everyone pulls in dependencies which in turn pull in their dependencies and it's a security nightmare.
GitHub has some security knobs in place for this but I'm just wondering if anyone here has devised a flow for vetting and allowing Actions in their teams' pipelines.
https://redd.it/nst35l
@r_devops
I'm a huge fan of GitHub Actions, after years of using every CI/CD tool under the sun, I see Actions as truly innovative and for the most part that's because of the Actions interface and ecosystem.
However, it is a whole new threat vector, I now have teams pulling in God knows what Actions that they've found online. And that is usually fine because there are tons of useful and free projects to choose from but it's a mirror of the import/dependency problem in repo source code. Everyone pulls in dependencies which in turn pull in their dependencies and it's a security nightmare.
GitHub has some security knobs in place for this but I'm just wondering if anyone here has devised a flow for vetting and allowing Actions in their teams' pipelines.
https://redd.it/nst35l
@r_devops
reddit
Managing Action Approvals with GitHub Actions
I'm a huge fan of GitHub Actions, after years of using every CI/CD tool under the sun, I see Actions as truly innovative and for the most part...
Bitnami Tomcat issue with the base64 enc database password
Hello All,
I am using bitnami tomcat 9.0.45 to deploy our containerized application onto kubernetes. This web app connects to a remote database, and the credentials for the same are defined as variables in the config map and the secrets, the values of these objects set in the helm values.yaml. I am deploying the containerized app through the Gitlab CI, wherein after the successful deployment I can see the DB password in the plaintext in the console logs of tomcat, whereas we have set DB password to be base 64 encoded on the GitLab CI. Not sure, upon deployment, it just shows the plain text password but not the base 64enc, which is a security issue for the organization. Please advise how to solve this?
​
Thanks
https://redd.it/nsr269
@r_devops
Hello All,
I am using bitnami tomcat 9.0.45 to deploy our containerized application onto kubernetes. This web app connects to a remote database, and the credentials for the same are defined as variables in the config map and the secrets, the values of these objects set in the helm values.yaml. I am deploying the containerized app through the Gitlab CI, wherein after the successful deployment I can see the DB password in the plaintext in the console logs of tomcat, whereas we have set DB password to be base 64 encoded on the GitLab CI. Not sure, upon deployment, it just shows the plain text password but not the base 64enc, which is a security issue for the organization. Please advise how to solve this?
​
Thanks
https://redd.it/nsr269
@r_devops
reddit
Bitnami Tomcat issue with the base64 enc database password
Hello All, I am using bitnami tomcat 9.0.45 to deploy our containerized application onto kubernetes. This web app connects to a remote database,...
I'm an IRL DevOps Eng and was curious if my problem would interest you?
I thought hey- since I know there are readers of all sorts on this subreddit, from starting out to experienced vet, I thought this might be a nice idea to illustrate a fun problem I'm having to see if anyone wanted to give it some thought?
I've got a Jenkins Server running in Kubernetes. I have a Bitbucket server (internally). I am not able to connect to Stash via the"Bitbucket Server Integration" plugin... and the issue seems to be with certs as per the error raised in the plugin, however I have verified my certs are correct in the truststore for the Jenkins container inside my pod (remember, it's on kubernetes)... so, what do you think could be the issue? ;)
https://redd.it/nsmkx6
@r_devops
I thought hey- since I know there are readers of all sorts on this subreddit, from starting out to experienced vet, I thought this might be a nice idea to illustrate a fun problem I'm having to see if anyone wanted to give it some thought?
I've got a Jenkins Server running in Kubernetes. I have a Bitbucket server (internally). I am not able to connect to Stash via the"Bitbucket Server Integration" plugin... and the issue seems to be with certs as per the error raised in the plugin, however I have verified my certs are correct in the truststore for the Jenkins container inside my pod (remember, it's on kubernetes)... so, what do you think could be the issue? ;)
https://redd.it/nsmkx6
@r_devops
Bitbucket Server Integration
This plugin integrates <a href="https://www.atlassian.com/software/bitbucket/enterprise/data-center" target="_blank" rel="noreferrer noopener nofollow">Bitbucket <strong>Server</strong></a> with Jenkins.