#general (2021-03)

General conversations related to DevOps/Automation

General Discussions

2021-03-01

SweetOps avatar
SweetOps
08:00:23 PM

Hey everyone, give a warm welcome to our newest members!

  • @Chuong
  • @Ivo Marino
  • @Erwin Morales
  • @Chris Dobbyn
  • @Mahi C

Good to have you here =)

3
1

2021-03-02

SweetOps avatar
SweetOps
08:00:20 PM

Hey everyone, give a warm welcome to our newest members!

  • @Rob Lundy
  • @Piotr Hryszko
  • @Carlos Henchen
  • @nagakonduru379
  • @Pavel

Good to have you here =)

6

2021-03-03

 avatar
03:42:41 PM

Doing Go, AWS, Docker, Python, PowerShell and normal stuff like slack video share etc. what’s your choice (assume you are comfortable with both windows and mac, this is system focused)

sheldonh avatar
sheldonh

Posted in general because couldn’t find any other channel this fit into ¯_(ツ)_/¯

sheldonh avatar
sheldonh

@Mohammed Yahya interested in your passing on m1 at this time. I can guess why but would like to hear from you

Mohammed Yahya avatar
Mohammed Yahya

first mac over windows, second I have i9 mbp 16 inch, it’s stable over the m1, m1 still in early age, lot of small issues as I saw in reviews, not sure about brew

Mohammed Yahya avatar
Mohammed Yahya

I will upgrade to the m1, but not this year for sure

this3
roth.andy avatar
roth.andy

IMO the non-m1 macbook is the only one of the 3 options that doesn’t include “yeah it will work but here are the hoops you have to jump through first”

1
sheldonh avatar
sheldonh

Good to know. I figured most of the links had been worked out but glad to know I’m not missing anything much right now. For non-dev work I think for air it’s a shoe-in with power efficiency and performance. Development is a different beast.

roth.andy avatar
roth.andy

Another option, though in the same category of “hoops to jump through first” is to have the physical laptop be not much more than a thin client. I know Kelsey Hightower does ~a lot~ome of his development on a Chromebook that is connected for remote development to a linux server in GCP. I’ll see if I can find some of his tweets talking about it

roth.andy avatar
roth.andy

I’m using a chromebook as a backup for development and giving talks. So far so good after installing crouton and setting up a Debian chroot.

roth.andy avatar
roth.andy

I can finally run VS Code on my Chromebook without waiting seconds between keystrokes. https://github.com/cdr/code-server

roth.andy avatar
roth.andy

These days I only break out the Mac when I have to use Microsoft Teams or the Zoom desktop clients. I’m spoiled by the speed and responsiveness of my Pixelbook.

sheldonh avatar
sheldonh

Yeah, I get that for personal use, but a company provided laptop I’d prefer something that works well remote and local with all options available. Good idea though otherwise!

1
SweetOps avatar
SweetOps
08:00:09 PM

Hey everyone, give a warm welcome to our newest members!

  • @billpoullos775
  • @Mike Risher
  • @arjun.n

Good to have you here =)

2021-03-04

2021-03-05

Andy avatar

Is anyone aware of a good tutorial site to point junior devs at for learning the basics of databases (i.e. understanding queries, indexes, query plans). This is for a junior devops expected to support psql RDS’

Jeff Dyke avatar
Jeff Dyke

I would highly reccomend against w3schools or any generic site. I’ve worked with many databases over the years, mostly MySQL and Maria, but also DB2, Oracle, and Sybase. They should know how ANSI-99 works (not like a text book, but base skills), but then each database possesses certain ways to approach problems that other platforms fail at. Then you’re giving that person the responsibility of managing a cloud based database. If you don’t have a Postgres person in house, i would think more about this decision. With mysql and mariadb, there is a great knowledge base from Percona, hopefully the same exists for PGSQL. They way i write queries and test for optimization bottle necks, differs heavily by database. Good Luck.

1
Jacob Evans avatar
Jacob Evans

I’ve always liked w3schools (https://www.w3schools.com/sql/default.asp). I can’t say for sure if that SQL tutorial will line up 1-1 with psql though (I’m an Oracle guy myself)

SQL Tutorial

Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, PHP, Python, Bootstrap, Java and XML.

2

2021-03-06

2021-03-08

sahil kamboj avatar
sahil kamboj

general query i have a production Ec2 instance which has 50 Gb of static content and its on private network(will not able to do ssh or rsync) i want to sync that static content to multiple server(within aws and outside aws) I dont want to disturb my production Ec2 with lot of rsync what would be the best for this type of scenario.

ikar avatar

e.g. use S3 using AWS CLI?

bradym avatar

I would put the static files in s3 and then use event notifications on the bucket to trigger a rundeck job to sync the files from the bucket to all servers. Theoretically this could also be done with a lambda function, but if you’ve got something like rundeck already it might be easier to go that route.

sheldonh avatar
sheldonh

What is the static content? AWS has a datasync tool now that might help with onprem + aws focused, but it’s just one option. Is it possible to store it in s3 and distribute to ec2 instance as target also instead of it being the distributor? Then you could use any switches to also reduce threading possibly on that instance alone. Just a few quick thoughts

SweetOps avatar
SweetOps
08:00:10 PM

Hey everyone, give a warm welcome to our newest members!

  • @Jonas Steinberg
  • @CedricT
  • @Jerry Cardoza
  • @Jonas Steinberg
  • @Jonathon Canada
  • @Anadelia Fadeev
  • @Noah Purves-Smith
  • @Murali
  • @Zam Zam
  • @Darren P
  • @Fabian
  • @Tiago Casinhas
  • @Justin Smith
  • @elkrammer

Good to have you here =)

2

2021-03-09

SweetOps avatar
SweetOps
08:00:24 PM

Hey everyone, give a warm welcome to our newest members!

  • @Martin Heller
  • @Markus Muehlberger
  • @Tim Sutton
  • @Andrew Rawcliffe

Good to have you here =)

wave1

2021-03-10

SweetOps avatar
SweetOps
08:00:14 PM

Hey everyone, give a warm welcome to our newest members!

  • @marcuz
  • @florinfinaru
  • @kevcube
  • @TED Vortex
  • @Hank
  • @Bob Kryger
  • @Cliff Williams

Good to have you here =)

2
wave2

2021-03-11

walicolc avatar
walicolc

Can we get some context first @David Napier

David Napier avatar
David Napier

Loool. Well played. I moved the comment to the terraform channel, where it should have been.

SweetOps avatar
SweetOps
08:00:12 PM

Hey everyone, give a warm welcome to our newest members!

  • @Gheorghe Casian
  • @Zach Irlbeck
  • @Ron Basumallik

Good to have you here =)

2021-03-12

SweetOps avatar
SweetOps
08:00:10 PM

Hey everyone, give a warm welcome to our newest members!

  • @André
  • @Soroush Atarod
  • @rd
  • @DevOpsGuy
  • @Ulrica de Fort-Menares

Good to have you here =)

2
2

2021-03-14

newbieCpo avatar
newbieCpo

Hello Guys, Someone could guideme to create tfstate files?

bk avatar

I don’t think you explicitly create tfstate files? I think they get created when you run terraform apply

newbieCpo avatar
newbieCpo
cloudposse/root.cloudposse.co

Example Terraform Reference Architecture for Geodesic Module Parent (“Root” or “Identity”) Organization in AWS. - cloudposse/root.cloudposse.co

newbieCpo avatar
newbieCpo

I’m following the README file instructions but i’m stuck this part

newbieCpo avatar
newbieCpo
Login to AWS with your MFA device
assume-role
NOTE: Before provisioning AWS resources with Terraform, you need to create tfstate-backend first (S3 bucket to store Terraform state and DynamoDB table for state locking).

Follow the steps in this README. You need to do it only once.

After tfstate-backend has been provisioned, follow the rest of the instructions in the order shown below.
bk avatar

disclaimer, I’m just a random dude and not super familiar with CloudPosse’s projects yet.

What problem are you running in to? Note, that repo seems archived so I wouldn’t personally use it.

bk avatar

funny I was trying to create the remotestate s3 backend too. I was trying to use https://github.com/cloudposse/terraform-aws-tfstate-backend but ran into https://github.com/cloudposse/terraform-aws-tfstate-backend/issues/88

cloudposse/terraform-aws-tfstate-backend

Terraform module that provision an S3 bucket to store the terraform.tfstate file and a DynamoDB table to lock the state file to prevent concurrent modifications and state corruption. - cloudposse…

Error creating S3 bucket ... the region 'us-east-1' is wrong; expecting 'eu-central-1' · Issue #88 · cloudposse/terraform-aws-tfstate-backend

Found a bug? Maybe our Slack Community can help. Describe the Bug I've set the AWS provider to use us-east-1 but I'm getting this error when the module tries to create the s3 bucket: Error …

newbieCpo avatar
newbieCpo

The README link seems broken

newbieCpo avatar
newbieCpo

NOTE: Before provisioning AWS resources with Terraform, you need to create tfstate-backend first (S3 bucket to store Terraform state and DynamoDB table for state locking). Follow the steps in this README. You need to do it only once.

bk avatar

right. It should probably lead the to the repo I’ve linked.

newbieCpo avatar
newbieCpo

I dont know ho to config tfstate-backend

bk avatar

but it’s also an archived repo so we can’t pull request the readme.

newbieCpo avatar
newbieCpo

what repo do you recommend me to check to get started?

bk avatar

with terraform in general or specifically remote state backends?

newbieCpo avatar
newbieCpo

I mean with cloudposse

newbieCpo avatar
newbieCpo

I need to create a beanstalk app from cloudposse?

bk avatar

again I’m just a random dude.

You might try #office-hours during the week?

bk avatar

I am new to cloudposse as well so I’m sorry I can’t help much

newbieCpo avatar
newbieCpo

Ok no problem I appreciate your help

1
newbieCpo avatar
newbieCpo

What channel would you recommend to ask about these questions?

bk avatar

I just joined this Slack like ~20 minutes ago but when I joined SlackBot send me a message with a lot of helpful suggestions

bk avatar

did you get that?

bk avatar

they also have a youtube channel with past/recent recordings of their office hours sessions on zoom: https://www.youtube.com/channel/UCvTIgk77GZg7hEs6dNIGs7A

Cloud Posse

We’re a DevOps accelerator. That means we help companies own their infrastructure in record time by building it with you and then showing you the ropes. If that sounds interesting, head over to cloudposse.com/quiz to get started.

MattyB avatar

@newbieCpo - were you able to get the help or find the answers you needed?

SweetOps avatar
SweetOps
07:00:12 PM

Hey everyone, give a warm welcome to our newest members!

  • @patrykk
  • @bk

Good to have you here =)

1
wave1

2021-03-15

SweetOps avatar
SweetOps
07:00:09 PM

Hey everyone, give a warm welcome to our newest members!

  • @adityamenon5
  • @Grubhold
  • @Prasanna
  • @Marco Poli
  • @Jamie Ratcliffe

Good to have you here =)

4
1
wave1

2021-03-16

SweetOps avatar
SweetOps
07:00:26 PM

Hey everyone, give a warm welcome to our newest members!

  • @Florian SILVA
  • @LT
  • @Paul Farag

Good to have you here =)

2
wave3
wave1

2021-03-17

SweetOps avatar
SweetOps
07:00:07 PM

Hey everyone, give a warm welcome to our newest members!

  • @ivanpauls1705
  • @Ashish Srivastava
  • @Jonathan Chapman

Good to have you here =)

2021-03-18

SweetOps avatar
SweetOps
07:00:12 PM

Hey everyone, give a warm welcome to our newest members!

  • @Allen Vailliencourt
  • @Roy
  • @Sunny

Good to have you here =)

wave1
wave2

2021-03-19

arjun.n avatar
arjun.n

Hey all!!!

SweetOps avatar
SweetOps
07:00:22 PM

Hey everyone, give a warm welcome to our newest members!

  • @Nishant Thorat
  • @VSK Chaitanya Tirumala
  • @mwc_trexx

Good to have you here =)

2021-03-20

SweetOps avatar
SweetOps
07:00:18 PM

Hey everyone, give a warm welcome to our newest members!

  • @Lee Wilson

Good to have you here =)

1

2021-03-21

SweetOps avatar
SweetOps
07:00:07 PM

Hey everyone, give a warm welcome to our newest members!

  • @harish.kalyanpur

Good to have you here =)

2021-03-22

SweetOps avatar
SweetOps
07:24:57 PM

Hey everyone, give a warm welcome to our newest members!

  • @arig.mohey
  • @michael.l

Good to have you here =)

1

2021-03-23

SweetOps avatar
SweetOps
07:00:15 PM

Hey everyone, give a warm welcome to our newest members!

  • @Sanjeev
  • @Gerald
  • @Eric Mahe
  • @Kurt Bachelder
  • @Loukas Agorgianitis
  • @Jeff Behl
  • @Jason S

Good to have you here =)

3
1
wave3

2021-03-24

SweetOps avatar
SweetOps
07:00:16 PM

Hey everyone, give a warm welcome to our newest members!

  • @Brian Merrell
  • @Joko Sarjono Slameto
  • @John Clawson

Good to have you here =)

1

2021-03-25

SweetOps avatar
SweetOps
07:00:11 PM

Hey everyone, give a warm welcome to our newest members!

  • @Walter Mazza
  • @matthias.poqq
  • @Juan
  • @gonzalez.mariano.gabr
  • @rizkyramadhanajjkh

Good to have you here =)

2021-03-26

SweetOps avatar
SweetOps
07:00:23 PM

Hey everyone, give a warm welcome to our newest members!

  • @Adam van den Hoven

Good to have you here =)

rms1000watt avatar
rms1000watt

@Erik Osterman (Cloud Posse) We got another Calm DevOps in here!! @Sungho Spark

2021-03-27

SweetOps avatar
SweetOps
07:00:17 PM

Hey everyone, give a warm welcome to our newest members!

  • @Sungho Spark
  • @brenden

Good to have you here =)

2021-03-28

SweetOps avatar
SweetOps
07:00:12 PM

Hey everyone, give a warm welcome to our newest members!

  • @1giba
  • @jimp

Good to have you here =)

1

2021-03-30

2021-03-31

sheldonh avatar
sheldonh

Just want to give props to @Erik Osterman (Cloud Posse) and team… I always recommend your modules and appreciate the time you all give back to us 1000 with great thoughts and better ways of working.

Really should be Hashicorp Recognized Gold Partners

You can sponsor them on github. It was my first sponsor and I’m only doing $1 right now, but it’s a start! Recommend if you’ve found this community useful to just throw up a quick sponsorship as even just some extra coffee money is a nice thank you. disclaimer: I’m just a fellow dev who has loved this great community, not associated

https://github.com/sponsors/cloudposse

Also… the slack archives and threading in the community are what make slack work so well. Thank you for this!

Sponsor @cloudposse on GitHub Sponsors

Cloud Posse is a DevOps Accelerator that helps companies own their infrastructure in record time by building it with you and then showing you the ropes. Everything we do is 100% Open Source under A…

3
3
1
Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Thanks @sheldonh for the shout out. Can’t say how much it means to us and the team. It’s not about how much, but just the good will!

Sponsor @cloudposse on GitHub Sponsors

Cloud Posse is a DevOps Accelerator that helps companies own their infrastructure in record time by building it with you and then showing you the ropes. Everything we do is 100% Open Source under A…

1
sheldonh avatar
sheldonh

[thread] CTO.ai slackops first class approach?

sheldonh avatar
sheldonh

I really like chatops oriented tooling rather than having to always do things in pipelines. On demand tasks can be really nifty. I’ve learned though that there is a negative cost to this when it’s not your full time job to be a chatops engineer :stuck_out_tongue:

  • Complexity in code
  • Complexity in infrastructure
  • Securing
  • Ease of use
  • Slack/Chatops Changes

I’ve been monitoring https://thycotic.slack.com/apps/A49L9N70F-ctoai CTO.ai with great interest. It seems to handle a ton of the complexity and overhead of setting up good slack app integrations (the custom modal dialogues and more that chatbots can’t do). It even has linked options to GitHub Actions, Azure Pipelines and more from what I can. Security and other pieces are handled as well.

Anyone else experimented with this? I’m really interested in the promise this has over rolling my own solutions. Not only does it have chatops solved, but the same ops cli can be run locally, eliminating any need for slack if in a dev workflow + they have a Go SDK, and other languages for extended further.

CTO.ai

Streamline and accelerate your development team by enabling DevOps on Slack. Easily setup “SlackOps” by CTO.ai, a reimagined cloud-native approach to ChatOps. By bringing DevOps to Slack, CTO.ai

sheldonh avatar
sheldonh

I’m just a bit frustrated from my past exploration on setting up a secure slack webhook solution, things get tricky to properly secure, and this seems to eliminate a lot of the overhead by having a solid framework for this.

Would love thoughts/experiences. Cheers

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Maybe a good topic for next week’s #office-hours

Hao Wang avatar
Hao Wang

sheldonh avatar
sheldonh

They do need to work on their email as no unsubscribe links and sorta spammy initially. Still seems promising

SweetOps avatar
SweetOps
07:00:17 PM

Hey everyone, give a warm welcome to our newest members!

  • @Dann P
  • @michele.pinto.82
  • @Ashish Modi
  • @Dann P
  • @James
  • @James Conroy-Finn
  • @Jonathan Martin
  • @A Sheperd
  • @Andrew Yan
  • @Mayur Sinha
  • @Felix Kraus
  • @hrishidkakkad

Good to have you here =)

cool-doge3
James Conroy-Finn avatar
James Conroy-Finn

Thanks for the warm welcome! wave

    keyboard_arrow_up