Kubernetes on DigitalOcean pricing for low usage and limitations
Hello,
I'm hosting a Rails application for a client of mine and the total cost is about 30$/month, that is 3 droplets, one is postgres, 1 is "background workers" and one is "web" (6$+6$+18$).
I've been "constantly" dealing with the annoyance of having to upgrade the servers, which deserve way more maintenance than I give them, but lately after I made a bunch of changes to the application, I realized that I would like to avoid this all together: makes deployment stressful, I feel uncomfortable because of security patches I need to keep up with at the server level (on top of the app!) and in general even two identical servers diverge somewhat over time.
I thought of just running Docker images inside simple droplets, but putting docker images inside systemd seems to come with some limitations (the process for killing the image is not straightforward)
Out of curiosity, I'm exploring the idea of using kubernetes and terraform as an alternative, I like learning so studying comes as a plus in some way.
Notice that this app has been up for over 10 years, but it still receives new features, so I'm expecting more requests and changes over time.
Is it possible to come close in pricing in DO using Kubernetes? I'd like to know before I commit to even studying stuff. The main questions are:
Basic node pricing seems to be 12$, but it also say that the cost is based on a per-droplet basis, which one is it, if I want to use a 6$ droplet for one of the nodes, will it still cost 12$?
Is a load balancer required? What's the downside of not having one in this case
I need a safe place to store file uploads. The app doesn't support S3 yet, so it needs to be something mounted as a filesystem. I was reading that I can't mount NFS on multiple instances, which would be a serious limitation, is this correct? Is there anything I could share between nodes that I can mount as a filesystem?
are my app logs kept anywhere if I need to debug?
There are quite a few things I can compromise on:
managed postgres, i already discussed this additional expense, so the "postgres" node will be gone
I can pay for Spaces ($5/month),it's a waste because space usage is like 10GB,definitely not 100
one of the machines is currently 2gb of ram, 2 vcpus (needed for the big excel files generated occasionally). I can split this in 2, but from my understanding, I would need a load balancer in that case, increasing the price.
Is there any way to scale to 0 the "background worker" node without spending money on a node to orchestrate that (keda or knative)? That node is used highly infrequently.
Based on my calculation, I would end up needing:
2 nodes, one will cost 12$ and the other 18$
1 managed database
Spaces
Total cost is 50$/month. I would love to have the worker node be small (6$/month),but I can't figure out if DO allows that.
On top of this, I won't be able to increase availability unless I pay 12$ for the load balancer, sadly.
App requirements:
filesystem for file uploads (at some point, I'll move this to s3-like)
postgres
1gb ram
worker process and web process need to be split to avoid workers using all resources needed to serve web
static file serving and proxy to the main application, I usually use nginx (does it need to be another node?)
ideally the filesystem for file uploads can be shared in some way between worker and web nodes. It needs to be accessible by nginx for serving the files
backups for db and Spaces
https, currently managed by letsencrypt with nginx plugin
Based on this huge wall of text, sorry, I'm not confident it's straightforward to keep price in the same range. 50$/month would be acceptable, but if I had to add a load balancer and a separate node for filesysyem sharing, that would put me at 74$/month which is almost 3 times as of the current price.
On top of that, I'm uncertain about nginx: unless it's provided, I will need to put it on the same node as the main application, or a separate node and pay another 12$,but then
Hello,
I'm hosting a Rails application for a client of mine and the total cost is about 30$/month, that is 3 droplets, one is postgres, 1 is "background workers" and one is "web" (6$+6$+18$).
I've been "constantly" dealing with the annoyance of having to upgrade the servers, which deserve way more maintenance than I give them, but lately after I made a bunch of changes to the application, I realized that I would like to avoid this all together: makes deployment stressful, I feel uncomfortable because of security patches I need to keep up with at the server level (on top of the app!) and in general even two identical servers diverge somewhat over time.
I thought of just running Docker images inside simple droplets, but putting docker images inside systemd seems to come with some limitations (the process for killing the image is not straightforward)
Out of curiosity, I'm exploring the idea of using kubernetes and terraform as an alternative, I like learning so studying comes as a plus in some way.
Notice that this app has been up for over 10 years, but it still receives new features, so I'm expecting more requests and changes over time.
Is it possible to come close in pricing in DO using Kubernetes? I'd like to know before I commit to even studying stuff. The main questions are:
Basic node pricing seems to be 12$, but it also say that the cost is based on a per-droplet basis, which one is it, if I want to use a 6$ droplet for one of the nodes, will it still cost 12$?
Is a load balancer required? What's the downside of not having one in this case
I need a safe place to store file uploads. The app doesn't support S3 yet, so it needs to be something mounted as a filesystem. I was reading that I can't mount NFS on multiple instances, which would be a serious limitation, is this correct? Is there anything I could share between nodes that I can mount as a filesystem?
are my app logs kept anywhere if I need to debug?
There are quite a few things I can compromise on:
managed postgres, i already discussed this additional expense, so the "postgres" node will be gone
I can pay for Spaces ($5/month),it's a waste because space usage is like 10GB,definitely not 100
one of the machines is currently 2gb of ram, 2 vcpus (needed for the big excel files generated occasionally). I can split this in 2, but from my understanding, I would need a load balancer in that case, increasing the price.
Is there any way to scale to 0 the "background worker" node without spending money on a node to orchestrate that (keda or knative)? That node is used highly infrequently.
Based on my calculation, I would end up needing:
2 nodes, one will cost 12$ and the other 18$
1 managed database
Spaces
Total cost is 50$/month. I would love to have the worker node be small (6$/month),but I can't figure out if DO allows that.
On top of this, I won't be able to increase availability unless I pay 12$ for the load balancer, sadly.
App requirements:
filesystem for file uploads (at some point, I'll move this to s3-like)
postgres
1gb ram
worker process and web process need to be split to avoid workers using all resources needed to serve web
static file serving and proxy to the main application, I usually use nginx (does it need to be another node?)
ideally the filesystem for file uploads can be shared in some way between worker and web nodes. It needs to be accessible by nginx for serving the files
backups for db and Spaces
https, currently managed by letsencrypt with nginx plugin
Based on this huge wall of text, sorry, I'm not confident it's straightforward to keep price in the same range. 50$/month would be acceptable, but if I had to add a load balancer and a separate node for filesysyem sharing, that would put me at 74$/month which is almost 3 times as of the current price.
On top of that, I'm uncertain about nginx: unless it's provided, I will need to put it on the same node as the main application, or a separate node and pay another 12$,but then
how does it access the file upload filesystem?
Please forgive any term misusage, I'm realizing that "node" might be the wrong term, as I said, I know very little about Kubernetes at this time.
EDIT: Based on the reading I'm doing, it seems like I'm missing the concept of a Pod.
While I don't believe the background worker belongs necessary to the same Pod as the web app, I could put them in the same pod and limit the resources of the background worker process. I would use a 12$ droplet and I could set autoscaling to max 2 or even 3 and include a load balancer. This would bring me still close to 24$+20$ "base price", but the app would be able to tolerate bursts.
The filesystem seems to be sharable in the Pod, so this could solve the problem.
https://redd.it/z2q4cp
@r_devops
Please forgive any term misusage, I'm realizing that "node" might be the wrong term, as I said, I know very little about Kubernetes at this time.
EDIT: Based on the reading I'm doing, it seems like I'm missing the concept of a Pod.
While I don't believe the background worker belongs necessary to the same Pod as the web app, I could put them in the same pod and limit the resources of the background worker process. I would use a 12$ droplet and I could set autoscaling to max 2 or even 3 and include a load balancer. This would bring me still close to 24$+20$ "base price", but the app would be able to tolerate bursts.
The filesystem seems to be sharable in the Pod, so this could solve the problem.
https://redd.it/z2q4cp
@r_devops
reddit
Kubernetes on DigitalOcean pricing for low usage and limitations
Hello, I'm hosting a Rails application for a client of mine and the total cost is about 30$/month, that is 3 droplets, one is postgres, 1 is...
Getting started with Ansible | Ansible Inventory, Ansible Configuration
https://www.youtube.com/watch?v=Q4KWe2gd0ZU
https://redd.it/z2qtum
@r_devops
https://www.youtube.com/watch?v=Q4KWe2gd0ZU
https://redd.it/z2qtum
@r_devops
YouTube
Getting started with Ansible | Ansible Inventory, Ansible Configuration | Ansible Tutorial
Building an Ansible Inventory
Managing Ansible Configuration Files
Running Ad Hoc Commands
Managing Dynamic Inventories
Inventory is a collection of hosts (nodes) with associated data and groupings that Ansible can connect and manage.
Hosts (nodes)
Groups…
Managing Ansible Configuration Files
Running Ad Hoc Commands
Managing Dynamic Inventories
Inventory is a collection of hosts (nodes) with associated data and groupings that Ansible can connect and manage.
Hosts (nodes)
Groups…
K8S Operators - How do you reserve on every node resources for system daemonsets ?
Lets say that my workloads are running on instances with 8CPU and 64gb mem.
I need to make sure that every node future or past - will have around 2CPU and 16GB reserved for my "future or past" daemonsets Ill have to deploy as an admin.
How to make sure that scheduler for X workloads will see there is only 6CPU available and for others will see there is only 2CPUs available.
I want to split lifecycle and resource management of my administration pods and customer pods.
Currently sometimes customer workloads make it impossible to deploy administration pods due to resources saturation. (I may add more or remove some administration pods later).
Edit. - my only find for now is to add high priorityClass for administration pods, but this can cause downtime for any other deployment that has lower priority. I would prefer to avoid that problem from the go.
https://redd.it/z2m7ep
@r_devops
Lets say that my workloads are running on instances with 8CPU and 64gb mem.
I need to make sure that every node future or past - will have around 2CPU and 16GB reserved for my "future or past" daemonsets Ill have to deploy as an admin.
How to make sure that scheduler for X workloads will see there is only 6CPU available and for others will see there is only 2CPUs available.
I want to split lifecycle and resource management of my administration pods and customer pods.
Currently sometimes customer workloads make it impossible to deploy administration pods due to resources saturation. (I may add more or remove some administration pods later).
Edit. - my only find for now is to add high priorityClass for administration pods, but this can cause downtime for any other deployment that has lower priority. I would prefer to avoid that problem from the go.
https://redd.it/z2m7ep
@r_devops
reddit
K8S Operators - How do you reserve on every node resources for...
Lets say that my workloads are running on instances with 8CPU and 64gb mem. I need to make sure that every node future or past - will have around...
How do you configure an nginx server block without an "index.html"? Is that possible?
I have this code running on DigitalOcean VM right now as a backend.
https://github.com/u/netflix-clone-back
I'm trying to configure an Nginx server block with it but I don't have an "index.html" file to use.
I used this package pm2 to keep it running perpetually as a process with the command "pm2 index.js".
And due to the fact it's just a node and ExpressJS app, I don't have a "npm build" option in the "package.json" to get a build folder with an "index.html" to use in the server block.
My question is, how do I run the equivalent to "npm build" here?
And if I do get a build folder, will I still be able to run "pm2 index.html" to keep it perpetually running as a process in the VM? Will I even need pm2? Or will Nginx keep it running perpetually itself?
https://redd.it/z30xl3
@r_devops
I have this code running on DigitalOcean VM right now as a backend.
https://github.com/u/netflix-clone-back
I'm trying to configure an Nginx server block with it but I don't have an "index.html" file to use.
I used this package pm2 to keep it running perpetually as a process with the command "pm2 index.js".
And due to the fact it's just a node and ExpressJS app, I don't have a "npm build" option in the "package.json" to get a build folder with an "index.html" to use in the server block.
My question is, how do I run the equivalent to "npm build" here?
And if I do get a build folder, will I still be able to run "pm2 index.html" to keep it perpetually running as a process in the VM? Will I even need pm2? Or will Nginx keep it running perpetually itself?
https://redd.it/z30xl3
@r_devops
GitHub
GitHub - SenBoyer/netflix-clone-back
Contribute to SenBoyer/netflix-clone-back development by creating an account on GitHub.
set up and tear down eks nodes to run integration tests
I'm looking for suggestions on optimizing resources when running tests in an EKS environment. We have difrerent accounts/environments for dev, staging, test and prod deployed with terraform on AWS. They have the same architecture/resources but we want to reduce costs and I am wondering if someone has experience on provisioning eks nodes on demand. The idea is to reduce the eks workers node to cero and when someone wants to run tests just provision a worker node, deploy the pods/resources and when the tests are over just tear down the compute node again. We use CircleCI right now as our CI/CD....so wanted to ask if do you see any drawbacks/disvantages on this plan? Someone is doing something similar? Thanks in advance
https://redd.it/z35acn
@r_devops
I'm looking for suggestions on optimizing resources when running tests in an EKS environment. We have difrerent accounts/environments for dev, staging, test and prod deployed with terraform on AWS. They have the same architecture/resources but we want to reduce costs and I am wondering if someone has experience on provisioning eks nodes on demand. The idea is to reduce the eks workers node to cero and when someone wants to run tests just provision a worker node, deploy the pods/resources and when the tests are over just tear down the compute node again. We use CircleCI right now as our CI/CD....so wanted to ask if do you see any drawbacks/disvantages on this plan? Someone is doing something similar? Thanks in advance
https://redd.it/z35acn
@r_devops
reddit
set up and tear down eks nodes to run integration tests
I'm looking for suggestions on optimizing resources when running tests in an EKS environment. We have difrerent accounts/environments for dev,...
How to manage your dotfiles with git
https://fwuensche.medium.com/how-to-manage-your-dotfiles-with-git-f7aeed8adf8b
It's been a while that I wrote this post, but I've just got a new computer and the post was still surprisingly relevant. I'm sharing it here in the hope that it's also useful to others 🤗
https://redd.it/z363nm
@r_devops
https://fwuensche.medium.com/how-to-manage-your-dotfiles-with-git-f7aeed8adf8b
It's been a while that I wrote this post, but I've just got a new computer and the post was still surprisingly relevant. I'm sharing it here in the hope that it's also useful to others 🤗
https://redd.it/z363nm
@r_devops
Medium
How to manage your dotfiles with git
Based on a Hacker News solution proposed by StreakyCobra
What's a good way to design this?
I once wrote a script which would check an AWS S3 bucket for the existence of an object, and if it existed it would run a script locally on my laptop. Like a sort of automated task which I could trigger remotely by placing an object in an S3 bucket. However it turned out that sending an API call every 30 seconds cost quite a bit considering its literally doing nothing most of the time.
Now that we have things like AWS event bridge (which didn exist when i wrote this years ago). Is there a nice way of accomplishing this? I'm curious how other people would go about it.
https://redd.it/z2mowl
@r_devops
I once wrote a script which would check an AWS S3 bucket for the existence of an object, and if it existed it would run a script locally on my laptop. Like a sort of automated task which I could trigger remotely by placing an object in an S3 bucket. However it turned out that sending an API call every 30 seconds cost quite a bit considering its literally doing nothing most of the time.
Now that we have things like AWS event bridge (which didn exist when i wrote this years ago). Is there a nice way of accomplishing this? I'm curious how other people would go about it.
https://redd.it/z2mowl
@r_devops
reddit
What's a good way to design this?
I once wrote a script which would check an AWS S3 bucket for the existence of an object, and if it existed it would run a script locally on my...
DevOps/Cloud engineer reporting to a Developer?
I recently joined a company that implements a different kind of setup for teams. For example, one team has backend developers, QA's, Product manager, frontend/mobile devs and one dedicated cloud/devops engineer, about 10-12 people per team. The lead of this team is a developer, so I'm reporting to a developer who has no idea what I do as a Cloud Engineer, they basically just throw requests at me to build and deploy (quite frankly the same damn thing thay just differ in service names).
My question to the community is: is this a normal setup nowadays?
I'm having a hard time adjusting to it because I feel like it's a relegation from what I do then (leans more towards infrastructure design and build, CI/CD, cloud solutions architecture, etc) and now (developer support quite frankly).
Adding fuel to the fire is that my feedback from the team is usually just stuff that patronizes me. No concrete feedback on the technical stuff (is my output any good or how can I improve this skill, stuff like that).
https://redd.it/z38epb
@r_devops
I recently joined a company that implements a different kind of setup for teams. For example, one team has backend developers, QA's, Product manager, frontend/mobile devs and one dedicated cloud/devops engineer, about 10-12 people per team. The lead of this team is a developer, so I'm reporting to a developer who has no idea what I do as a Cloud Engineer, they basically just throw requests at me to build and deploy (quite frankly the same damn thing thay just differ in service names).
My question to the community is: is this a normal setup nowadays?
I'm having a hard time adjusting to it because I feel like it's a relegation from what I do then (leans more towards infrastructure design and build, CI/CD, cloud solutions architecture, etc) and now (developer support quite frankly).
Adding fuel to the fire is that my feedback from the team is usually just stuff that patronizes me. No concrete feedback on the technical stuff (is my output any good or how can I improve this skill, stuff like that).
https://redd.it/z38epb
@r_devops
reddit
DevOps/Cloud engineer reporting to a Developer?
I recently joined a company that implements a different kind of setup for teams. For example, one team has backend developers, QA's, Product...
Imagine you could have a secret manager with any functionality at all. What would you want in it?
Hi everyone!
We're building a new open-source secret manager (https://github.com/Infisical/infisical) that's modern and easy to use. We're still super early but wanted to get your thoughts on what the ideal secret manager experience should look like if you could rebuild one from scratch — Imagine anything is possible.
https://redd.it/z39ij4
@r_devops
Hi everyone!
We're building a new open-source secret manager (https://github.com/Infisical/infisical) that's modern and easy to use. We're still super early but wanted to get your thoughts on what the ideal secret manager experience should look like if you could rebuild one from scratch — Imagine anything is possible.
https://redd.it/z39ij4
@r_devops
GitHub
GitHub - Infisical/infisical: Infisical is the open-source platform for secrets, certificates, and privileged access management.
Infisical is the open-source platform for secrets, certificates, and privileged access management. - Infisical/infisical
How can I recruit for devops skills when I don't have those skills myself?
So we need a person with some devops expertise to come in and tell us how we should be doing things. We know the way we are currently doing things (various cobbled together scripts and manually set up ec2 instances and cloud resources) is not right/sustainable/scalable, and we know what some of the approaches we should be looking at are.
I'm a Python web application developer and I know how to interview for people with my skill-set because I can weed out the BS merchants in a conversation by asking them questions I know the answer to, and I can look at their approach to a simple programming task and see if it is good or now based on my own experience
However I don't really have any developed skills in any of the technologies we need in devops: IAC, orchestration etc. I don;t know when I ask a question if the person knows what they are talking about or if they have just read a dozen blogs with buzzwords in. I don't know what task I can set that is big enough for me to have an idea if they know what they are doing, but not so big it is taking the mick to ask the candidates to do in their own time. We've tried taking a punt on people before and been burnt
So any tips on what I should do to be sure we only hire someone with the right skill-set?
https://redd.it/z2sht8
@r_devops
So we need a person with some devops expertise to come in and tell us how we should be doing things. We know the way we are currently doing things (various cobbled together scripts and manually set up ec2 instances and cloud resources) is not right/sustainable/scalable, and we know what some of the approaches we should be looking at are.
I'm a Python web application developer and I know how to interview for people with my skill-set because I can weed out the BS merchants in a conversation by asking them questions I know the answer to, and I can look at their approach to a simple programming task and see if it is good or now based on my own experience
However I don't really have any developed skills in any of the technologies we need in devops: IAC, orchestration etc. I don;t know when I ask a question if the person knows what they are talking about or if they have just read a dozen blogs with buzzwords in. I don't know what task I can set that is big enough for me to have an idea if they know what they are doing, but not so big it is taking the mick to ask the candidates to do in their own time. We've tried taking a punt on people before and been burnt
So any tips on what I should do to be sure we only hire someone with the right skill-set?
https://redd.it/z2sht8
@r_devops
reddit
How can I recruit for devops skills when I don't have those skills...
So we need a person with some devops expertise to come in and tell us how we should be doing things. We know the way we are currently doing things...
DR/BCP with another region in AWS
I wanted to know what would be the most ideal DR/BCP plan. Cloudflare is our authoritative DNS. So should we like replicate the whole infrastructure and add DNS entry of that Load balancer on Cloudflare with the same domain name in another AWS region? Want to know best industry practices in this.
https://redd.it/z2mavy
@r_devops
I wanted to know what would be the most ideal DR/BCP plan. Cloudflare is our authoritative DNS. So should we like replicate the whole infrastructure and add DNS entry of that Load balancer on Cloudflare with the same domain name in another AWS region? Want to know best industry practices in this.
https://redd.it/z2mavy
@r_devops
reddit
DR/BCP with another region in AWS
I wanted to know what would be the most ideal DR/BCP plan. Cloudflare is our authoritative DNS. So should we like replicate the whole...
How do I implement a HA PostgreSQL setup in k8s/k3s ?
I am trying to setup HA PostgreSQL in k3s on a bare metal VM.
I think this tool https://github.com/zalando/postgres-operator is relevant to what I'm trying to achieve, but I have absolutely no idea how to go ahead with this. Can someone pls point me to a tutorial of some sort that can act as a starting point? I just read about the CAP theorem and I dont have much idea about distributed databases.
Thanks!
https://redd.it/z3cs98
@r_devops
I am trying to setup HA PostgreSQL in k3s on a bare metal VM.
I think this tool https://github.com/zalando/postgres-operator is relevant to what I'm trying to achieve, but I have absolutely no idea how to go ahead with this. Can someone pls point me to a tutorial of some sort that can act as a starting point? I just read about the CAP theorem and I dont have much idea about distributed databases.
Thanks!
https://redd.it/z3cs98
@r_devops
GitHub
GitHub - zalando/postgres-operator: Postgres operator creates and manages PostgreSQL clusters running in Kubernetes
Postgres operator creates and manages PostgreSQL clusters running in Kubernetes - zalando/postgres-operator
Getting better with operations / oncall
I want learn how to get better with oncall, specifically with knowing where to look, what things to look for, what actions to take and so on. Are there any resources / books or anything that I can take a look at to get better at ops?
https://redd.it/z3ehbo
@r_devops
I want learn how to get better with oncall, specifically with knowing where to look, what things to look for, what actions to take and so on. Are there any resources / books or anything that I can take a look at to get better at ops?
https://redd.it/z3ehbo
@r_devops
reddit
Getting better with operations / oncall
I want learn how to get better with oncall, specifically with knowing where to look, what things to look for, what actions to take and so on. Are...
(Noob) Question - Proxy request to vendor requiring static IP
I have some serverless functions running that need to retrieve data from a vendor that requires us to whitelist an IP. The functions are all using public IP addresses. I believe I should be able to create a small server that has a static IP address and then send my requests to that, which then redirects the request w/ all it's data to the vendor but now has the static IP from the server, then when it gets the response, it just sends it back to my function app.
I've tried googling for how to implement this but I think I am missing some key search terms to find what I need. I know this is possible but haven't yet found instructions that show me how to accomplish this.
My concern is that generally the origin's IP persists through redirects, so it seems like it should not be as simple as just redirecting the request. I'm wondering if I would need to do something like
1. Create NGINX server on my small static IP server
2. create small app that takes input data and does a POST request to the Vendor
3. return vendor response to my serverless function
Would this work? Is there a better way?
https://redd.it/z3ex33
@r_devops
I have some serverless functions running that need to retrieve data from a vendor that requires us to whitelist an IP. The functions are all using public IP addresses. I believe I should be able to create a small server that has a static IP address and then send my requests to that, which then redirects the request w/ all it's data to the vendor but now has the static IP from the server, then when it gets the response, it just sends it back to my function app.
I've tried googling for how to implement this but I think I am missing some key search terms to find what I need. I know this is possible but haven't yet found instructions that show me how to accomplish this.
My concern is that generally the origin's IP persists through redirects, so it seems like it should not be as simple as just redirecting the request. I'm wondering if I would need to do something like
1. Create NGINX server on my small static IP server
2. create small app that takes input data and does a POST request to the Vendor
3. return vendor response to my serverless function
Would this work? Is there a better way?
https://redd.it/z3ex33
@r_devops
reddit
(Noob) Question - Proxy request to vendor requiring static IP
I have some serverless functions running that need to retrieve data from a vendor that requires us to whitelist an IP. The functions are all using...
video System Design Interview - Consistent Hashing
https://youtu.be/4kd40gEKaLM
https://redd.it/z2s4o5
@r_devops
https://youtu.be/4kd40gEKaLM
https://redd.it/z2s4o5
@r_devops
YouTube
Consistent Hashing - System Design Interview
Get a Free System Design Roadmap PDF with 145 pages by subscribing to our monthly newsletter: https://lucianoprea.com/roadmap
✏️📘 Summary Notes: https://lucianoprea.com/blog/consistent-hashing
0:00 - Context
1:53 - The hashing problem
3:51 - What…
✏️📘 Summary Notes: https://lucianoprea.com/blog/consistent-hashing
0:00 - Context
1:53 - The hashing problem
3:51 - What…
Fast-Ansible: Ansible Tutorial, Sample Usage Scenarios (Howto: Hands-on LAB)
I want to share the Ansible tutorial, cheat sheet, and usage scenarios that I created as a notebook for myself. I know that Ansible is a detailed topic to learn in a short term, so I gathered useful information and create sample general usage scenarios of Ansible.
This repo covers Ansible with HowTo: Hands-on LABs (using Multipass: Ubuntu Lightweight VMs): Ad-Hoc Commands, Modules, Playbooks, Tags, Managing Files and Servers, Users, Roles, Handlers, Host Variables, Templates, and many details. Possible usage scenarios are aimed to update over time.
Tutorial Link: **https://github.com/omerbsezer/Fast-Ansible**
Extra Kubernetes-Tutorial Link: **https://github.com/omerbsezer/Fast-Kubernetes**
Extra Docker-Tutorial Link: **https://github.com/omerbsezer/Fast-Docker**
Quick Look (HowTo): Scenarios - Hands-on LABs
[LAB: Multipass-SSH Configuration (Create Ansible Test Environment)](https://github.com/omerbsezer/Fast-Ansible/blob/main/Multipass-SSH-Configuration.md)
LAB: Install Ansible and Test Basic Ansible (Ad-Hoc) Commands
[LAB: Implement First Playbook](https://github.com/omerbsezer/Fast-Ansible/blob/main/Implement-First-Playbook.md)
LAB: Playing Docker Module
[LAB: Important (Mostly Possible Used) Modules Sample Tasks](https://github.com/omerbsezer/Fast-Ansible/blob/main/Important-Modules-Sample-Tasks.md)
LAB: Refactoring / Improving Playbook
[LAB: Targeting Specific Nodes (Grouping)](https://github.com/omerbsezer/Fast-Ansible/blob/main/Targeting-Specific-Node.md)
LAB: Adding Tags
[LAB: Managing Files](https://github.com/omerbsezer/Fast-Ansible/blob/main/Managing-Files.md)
LAB: Managing Services
[LAB: Adding Users](https://github.com/omerbsezer/Fast-Ansible/blob/main/Adding-User.md)
LAB: Roles
[LAB: Host Variables](https://github.com/omerbsezer/Fast-Ansible/blob/main/Host-Variables.md)
LAB: Handlers
[LAB: Templates](https://github.com/omerbsezer/Fast-Ansible/blob/main/Templates.md)
Table of Contents
Motivation
[What is Ansible?](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#whatIsAnsible)
How Ansible Works?
[Creating LAB Environment](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#labEnvironment)
Ansible Basic (Ad-Hoc) Commands
[Ansible Modules](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#modules)
Ansible Playbooks
[Inventory File - Targeting Specific Nodes](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#inventory)
Tags
[Managing Files](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#files)
Managing Services
[Adding Users](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#users)
Roles
[Host Variables](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#hostvariables)
I want to share the Ansible tutorial, cheat sheet, and usage scenarios that I created as a notebook for myself. I know that Ansible is a detailed topic to learn in a short term, so I gathered useful information and create sample general usage scenarios of Ansible.
This repo covers Ansible with HowTo: Hands-on LABs (using Multipass: Ubuntu Lightweight VMs): Ad-Hoc Commands, Modules, Playbooks, Tags, Managing Files and Servers, Users, Roles, Handlers, Host Variables, Templates, and many details. Possible usage scenarios are aimed to update over time.
Tutorial Link: **https://github.com/omerbsezer/Fast-Ansible**
Extra Kubernetes-Tutorial Link: **https://github.com/omerbsezer/Fast-Kubernetes**
Extra Docker-Tutorial Link: **https://github.com/omerbsezer/Fast-Docker**
Quick Look (HowTo): Scenarios - Hands-on LABs
[LAB: Multipass-SSH Configuration (Create Ansible Test Environment)](https://github.com/omerbsezer/Fast-Ansible/blob/main/Multipass-SSH-Configuration.md)
LAB: Install Ansible and Test Basic Ansible (Ad-Hoc) Commands
[LAB: Implement First Playbook](https://github.com/omerbsezer/Fast-Ansible/blob/main/Implement-First-Playbook.md)
LAB: Playing Docker Module
[LAB: Important (Mostly Possible Used) Modules Sample Tasks](https://github.com/omerbsezer/Fast-Ansible/blob/main/Important-Modules-Sample-Tasks.md)
LAB: Refactoring / Improving Playbook
[LAB: Targeting Specific Nodes (Grouping)](https://github.com/omerbsezer/Fast-Ansible/blob/main/Targeting-Specific-Node.md)
LAB: Adding Tags
[LAB: Managing Files](https://github.com/omerbsezer/Fast-Ansible/blob/main/Managing-Files.md)
LAB: Managing Services
[LAB: Adding Users](https://github.com/omerbsezer/Fast-Ansible/blob/main/Adding-User.md)
LAB: Roles
[LAB: Host Variables](https://github.com/omerbsezer/Fast-Ansible/blob/main/Host-Variables.md)
LAB: Handlers
[LAB: Templates](https://github.com/omerbsezer/Fast-Ansible/blob/main/Templates.md)
Table of Contents
Motivation
[What is Ansible?](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#whatIsAnsible)
How Ansible Works?
[Creating LAB Environment](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#labEnvironment)
Ansible Basic (Ad-Hoc) Commands
[Ansible Modules](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#modules)
Ansible Playbooks
[Inventory File - Targeting Specific Nodes](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#inventory)
Tags
[Managing Files](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#files)
Managing Services
[Adding Users](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#users)
Roles
[Host Variables](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#hostvariables)
GitHub
GitHub - omerbsezer/Fast-Ansible: This repo covers Ansible with LABs: Multipass, Commands, Modules, Playbooks, Tags, Managing Files…
This repo covers Ansible with LABs: Multipass, Commands, Modules, Playbooks, Tags, Managing Files and Servers, Users, Roles, Handlers, Host Variables, Templates and details. - omerbsezer/Fast-Ansible
Fast-Ansible: Ansible Tutorial, Sample Usage Scenarios (Howto: Hands-on LAB)
I want to share the Ansible tutorial, cheat sheet, and usage scenarios that I created as a notebook for myself. I know that Ansible is a detailed topic to learn in a short term, so I gathered useful information and create sample general usage scenarios of Ansible.
This repo covers Ansible with HowTo: Hands-on LABs (using Multipass: Ubuntu Lightweight VMs): Ad-Hoc Commands, Modules, Playbooks, Tags, Managing Files and Servers, Users, Roles, Handlers, Host Variables, Templates, and many details. Possible usage scenarios are aimed to update over time.
**Tutorial Link:** [**https://github.com/omerbsezer/Fast-Ansible**](https://github.com/omerbsezer/Fast-Ansible)
**Extra Kubernetes-Tutorial Link:** [**https://github.com/omerbsezer/Fast-Kubernetes**](https://github.com/omerbsezer/Fast-Kubernetes)
**Extra Docker-Tutorial Link:** [**https://github.com/omerbsezer/Fast-Docker**](https://github.com/omerbsezer/Fast-Docker)
Quick Look (HowTo): Scenarios - Hands-on LABs
* [LAB: Multipass-SSH Configuration (Create Ansible Test Environment)](https://github.com/omerbsezer/Fast-Ansible/blob/main/Multipass-SSH-Configuration.md)
* [LAB: Install Ansible and Test Basic Ansible (Ad-Hoc) Commands](https://github.com/omerbsezer/Fast-Ansible/blob/main/Install-Ansible-Basic-Commands.md)
* [LAB: Implement First Playbook](https://github.com/omerbsezer/Fast-Ansible/blob/main/Implement-First-Playbook.md)
* [LAB: Playing Docker Module](https://github.com/omerbsezer/Fast-Ansible/blob/main/Docker-Module.md)
* [LAB: Important (Mostly Possible Used) Modules Sample Tasks](https://github.com/omerbsezer/Fast-Ansible/blob/main/Important-Modules-Sample-Tasks.md)
* [LAB: Refactoring / Improving Playbook](https://github.com/omerbsezer/Fast-Ansible/blob/main/Refactoring-Playbook.md)
* [LAB: Targeting Specific Nodes (Grouping)](https://github.com/omerbsezer/Fast-Ansible/blob/main/Targeting-Specific-Node.md)
* [LAB: Adding Tags](https://github.com/omerbsezer/Fast-Ansible/blob/main/Tags.md)
* [LAB: Managing Files](https://github.com/omerbsezer/Fast-Ansible/blob/main/Managing-Files.md)
* [LAB: Managing Services](https://github.com/omerbsezer/Fast-Ansible/blob/main/Managing-Services.md)
* [LAB: Adding Users](https://github.com/omerbsezer/Fast-Ansible/blob/main/Adding-User.md)
* [LAB: Roles](https://github.com/omerbsezer/Fast-Ansible/blob/main/Roles.md)
* [LAB: Host Variables](https://github.com/omerbsezer/Fast-Ansible/blob/main/Host-Variables.md)
* [LAB: Handlers](https://github.com/omerbsezer/Fast-Ansible/blob/main/Handlers.md)
* [LAB: Templates](https://github.com/omerbsezer/Fast-Ansible/blob/main/Templates.md)
Table of Contents
* [Motivation](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#motivation)
* [What is Ansible?](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#whatIsAnsible)
* [How Ansible Works?](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#howAnsibleWorks)
* [Creating LAB Environment](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#labEnvironment)
* [Ansible Basic (Ad-Hoc) Commands](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#commands)
* [Ansible Modules](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#modules)
* [Ansible Playbooks](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#playbooks)
* [Inventory File - Targeting Specific Nodes](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#inventory)
* [Tags](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#tags)
* [Managing Files](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#files)
* [Managing Services](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#services)
* [Adding Users](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#users)
* [Roles](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#roles)
* [Host Variables](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#hostvariables)
*
I want to share the Ansible tutorial, cheat sheet, and usage scenarios that I created as a notebook for myself. I know that Ansible is a detailed topic to learn in a short term, so I gathered useful information and create sample general usage scenarios of Ansible.
This repo covers Ansible with HowTo: Hands-on LABs (using Multipass: Ubuntu Lightweight VMs): Ad-Hoc Commands, Modules, Playbooks, Tags, Managing Files and Servers, Users, Roles, Handlers, Host Variables, Templates, and many details. Possible usage scenarios are aimed to update over time.
**Tutorial Link:** [**https://github.com/omerbsezer/Fast-Ansible**](https://github.com/omerbsezer/Fast-Ansible)
**Extra Kubernetes-Tutorial Link:** [**https://github.com/omerbsezer/Fast-Kubernetes**](https://github.com/omerbsezer/Fast-Kubernetes)
**Extra Docker-Tutorial Link:** [**https://github.com/omerbsezer/Fast-Docker**](https://github.com/omerbsezer/Fast-Docker)
Quick Look (HowTo): Scenarios - Hands-on LABs
* [LAB: Multipass-SSH Configuration (Create Ansible Test Environment)](https://github.com/omerbsezer/Fast-Ansible/blob/main/Multipass-SSH-Configuration.md)
* [LAB: Install Ansible and Test Basic Ansible (Ad-Hoc) Commands](https://github.com/omerbsezer/Fast-Ansible/blob/main/Install-Ansible-Basic-Commands.md)
* [LAB: Implement First Playbook](https://github.com/omerbsezer/Fast-Ansible/blob/main/Implement-First-Playbook.md)
* [LAB: Playing Docker Module](https://github.com/omerbsezer/Fast-Ansible/blob/main/Docker-Module.md)
* [LAB: Important (Mostly Possible Used) Modules Sample Tasks](https://github.com/omerbsezer/Fast-Ansible/blob/main/Important-Modules-Sample-Tasks.md)
* [LAB: Refactoring / Improving Playbook](https://github.com/omerbsezer/Fast-Ansible/blob/main/Refactoring-Playbook.md)
* [LAB: Targeting Specific Nodes (Grouping)](https://github.com/omerbsezer/Fast-Ansible/blob/main/Targeting-Specific-Node.md)
* [LAB: Adding Tags](https://github.com/omerbsezer/Fast-Ansible/blob/main/Tags.md)
* [LAB: Managing Files](https://github.com/omerbsezer/Fast-Ansible/blob/main/Managing-Files.md)
* [LAB: Managing Services](https://github.com/omerbsezer/Fast-Ansible/blob/main/Managing-Services.md)
* [LAB: Adding Users](https://github.com/omerbsezer/Fast-Ansible/blob/main/Adding-User.md)
* [LAB: Roles](https://github.com/omerbsezer/Fast-Ansible/blob/main/Roles.md)
* [LAB: Host Variables](https://github.com/omerbsezer/Fast-Ansible/blob/main/Host-Variables.md)
* [LAB: Handlers](https://github.com/omerbsezer/Fast-Ansible/blob/main/Handlers.md)
* [LAB: Templates](https://github.com/omerbsezer/Fast-Ansible/blob/main/Templates.md)
Table of Contents
* [Motivation](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#motivation)
* [What is Ansible?](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#whatIsAnsible)
* [How Ansible Works?](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#howAnsibleWorks)
* [Creating LAB Environment](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#labEnvironment)
* [Ansible Basic (Ad-Hoc) Commands](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#commands)
* [Ansible Modules](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#modules)
* [Ansible Playbooks](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#playbooks)
* [Inventory File - Targeting Specific Nodes](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#inventory)
* [Tags](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#tags)
* [Managing Files](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#files)
* [Managing Services](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#services)
* [Adding Users](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#users)
* [Roles](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#roles)
* [Host Variables](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#hostvariables)
*
[Handlers](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#handlers)
* [Templates](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#templates)
* [Debugging](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#debugging)
* [Details](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#details)
* [Other Useful Resources Related Ansible](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#resource)
* [References](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#references)
https://redd.it/z3gnob
@r_devops
* [Templates](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#templates)
* [Debugging](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#debugging)
* [Details](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#details)
* [Other Useful Resources Related Ansible](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#resource)
* [References](https://github.com/omerbsezer/Fast-Ansible/blob/main/README.md#references)
https://redd.it/z3gnob
@r_devops
GitHub
Fast-Ansible/README.md at main · omerbsezer/Fast-Ansible
This repo covers Ansible with LABs: Multipass, Commands, Modules, Playbooks, Tags, Managing Files and Servers, Users, Roles, Handlers, Host Variables, Templates and details. - omerbsezer/Fast-Ansible
AWS or Azure for next decade??
I want to know which will be Azure or AWS rule the market in coning decade. Which one is easier to learn?
What will be the criteria of selecting in your project?
https://redd.it/z3il80
@r_devops
I want to know which will be Azure or AWS rule the market in coning decade. Which one is easier to learn?
What will be the criteria of selecting in your project?
https://redd.it/z3il80
@r_devops
reddit
AWS or Azure for next decade??
I want to know which will be Azure or AWS rule the market in coning decade. Which one is easier to learn? What will be the criteria of selecting...
How to do HTTP access from outside to EC2 that in private subnet of a VPC?
I have app running on EC2 which is in private subnet. I have mapped private subnet to NAT gateway which resides in public subnet with internet gateway. My question is how can I do http access to that private subnet? Currently I can not access from outside world. I have also allowed http port in EC2 security group.
https://redd.it/z3iyzw
@r_devops
I have app running on EC2 which is in private subnet. I have mapped private subnet to NAT gateway which resides in public subnet with internet gateway. My question is how can I do http access to that private subnet? Currently I can not access from outside world. I have also allowed http port in EC2 security group.
https://redd.it/z3iyzw
@r_devops
reddit
How to do HTTP access from outside to EC2 that in private subnet...
I have app running on EC2 which is in private subnet. I have mapped private subnet to NAT gateway which resides in public subnet with internet...