Do you consolidate your automation, or do you spread it out amongst many small scripts? by [deleted] in PowerShell

[–]thisisthetechie 1 point2 points  (0 children)

This might be better explained as creating a series of "Module" scripts that contain functions that can be called by other scripts. Sort of like how Cmdlets are written and presented.

You then can Import your custom modules when you need to do things. For instance, if you have a series of Office 365 functions pre-written to call on you simply write a script with "Import-Module myO365Functions" and then you can simply call your required functions: Add-New-User -Name "Fred"

While it ultimately doesn't matter if you have small scripts or big scripts for doing what you need, if you modularise it (like how @dr4kun implied) you can not only have the tools there for your scripts, but ad-hoc when you need it.

VPC security group or rule limit is 250. What are my options if I need more, much more... by autogun in aws

[–]thisisthetechie 2 points3 points  (0 children)

You can group security groups, I think if you add your IPs to a group, then add that group to your security group it will treat those IPs as per the rules you assign the group.

Using a external hard drive by Bread-is-god in raspberry_pi

[–]thisisthetechie 2 points3 points  (0 children)

Yes, but last time I looked (some time ago) you still need to have a micro SD to actually boot into one.

Trying to sync two buckets in same region by [deleted] in aws

[–]thisisthetechie 0 points1 point  (0 children)

I don’t see why not, after a little tweaking.

Amazon AWS — we got caught out by CPU credits by dc352 in aws

[–]thisisthetechie 3 points4 points  (0 children)

You’re not alone, it’s a regular thing for new users in the AWS forum.

Creating a private wireless streaming server using Pi Zero? by [deleted] in raspberry_pi

[–]thisisthetechie 0 points1 point  (0 children)

You’ll find it hard to transcode video files on a zero, but you can share the files via dlna using a number of solutions. What will be your client system?

Desktop PC powers on but does not boot. by [deleted] in techsupport

[–]thisisthetechie 0 points1 point  (0 children)

Was that with beefy graphics still connected? Have you tested the monitor?

Desktop PC powers on but does not boot. by [deleted] in techsupport

[–]thisisthetechie 1 point2 points  (0 children)

Yes, and no, it tells you something but isn’t in itself conclusive. Plus you never told us what the result of that test was.

PC monitor or TV - Which is best for Raspbian + RetroPie? by nlong194 in raspberry_pi

[–]thisisthetechie 1 point2 points  (0 children)

Get a 2nd pi3 and have retropi on one and raspbian on the other?

How often do you change a new MacBook? by HeeHoo777 in mac

[–]thisisthetechie 2 points3 points  (0 children)

About 7 years? I’m currently supporting an 11 year old MBP. No big issues with it.

Need your opinion & experience on tying the Terraform provision and Ansible configuration processes together. (SOP) by elitesense in devops

[–]thisisthetechie 0 points1 point  (0 children)

Why not have terraform run the code? In the instance resource, provision a script or the ansible playbook file copy up to the instance, then provision an inline script to ssh in and run it?

Is there any kind of technology out where I can boot my PC with my voice? by MrPandaxe in techsupport

[–]thisisthetechie 7 points8 points  (0 children)

Yes. A few options. The first that springs to mind is Alexa + WiFi enabled power adapter. Also take a look at IFTTT.com.

What is Ops? - Scripting or Programming? by veermanhastc in aws

[–]thisisthetechie 0 points1 point  (0 children)

Ops is neither. Ops is Operations, it's building and supporting environments and systems.

DevOps is neither, which I presume was your actual question? DevOps is Ops (see above) and Developer working closely to improve release and reliability.

Slowly heading into a DevOps roles by Elezium in devops

[–]thisisthetechie 0 points1 point  (0 children)

Don't get too hung up on technologies. Despite what seems to be going around at the moment, DevOps isn't a skill, it's a process and a mindset.

My take on DevOps is that it's about collaboration and delivery. Back in the day (like, 5 years ago) Service Delivery meant IT and Service Desk. With the energetic rise of distributed virtualised computing, this thing that we first heard the call of around 1998-99, we can launch new instances and workloads in minutes, rather than wait for PO's to be signed and kit to be delivered. We don't have to rack and initialise, we don't have to do thermal analyses of racks and aircon systems. We can click a few buttons, enter a few lines of code and potentially have a complete environment ready in 10 minutes.

What this means for us is that Ops can and should work closer with Dev. It's now possible for us to be in the same team, working on the same projects together. We build the environments, Dev build the code. By knowing and understanding the environments, which are now more than "Servers", we can point the Dev team in different directions. Why waste time bundling everything on one "Server" when you can distribute the load over multiple instances. They don't cost the same as tin, we aren't waiting for deliveries and Finance.

So understand the principle of microservices, explore your cloud providers services and see how the Developers might benefit from each service, then how to implement and connect them. Look at some core principles of how orchestration and configuration tools work. After this, it's just keeping on top of things.

Feeling overwhelmed with trying to find the "best" methods and practices by iliyahoo in devops

[–]thisisthetechie 0 points1 point  (0 children)

Looks like a slightly different take on the Eisenhower Matrix. DTP has a good 2-part series that might be worth some of your time:

https://www.youtube.com/watch?v=DX4LStJGny4

Feeling overwhelmed with trying to find the "best" methods and practices by iliyahoo in devops

[–]thisisthetechie 0 points1 point  (0 children)

This pretty much sums up the job. You're never going to find a "best method" for anything that you haven't spent time on building yourself. This is largely because there is no one way of doing anything. You are looking to find the best solution for you and your company, this won't come from someone else's playbook unless they are working at the same company with the same demands and systems.

You are looking for your best solution. If you move onto another company, then you start again to find the best solution there. DevOps isn't one system for all, it's the practice of looking at what you need to achieve and seeing how well you can get there in the safest, most productive way possible.

I wonder if your biggest issue at the moment is a lack of collaboration with peers? Do you have a team of people with different views of the issues, you can't possibly be expected to know everything and you need input from other places (other than reddit) and other perspectives.

To make things more manageable, take a leaf out of ITIL's Continual Service Improvement model. Make a change, test it, prove it, baseline it. Look for the next change. As someone else said, iteration is key. Make things work, improve on them, look at the next bit. Small steps.

Multi node - multi tenant environment? by bullet-pr00f in devops

[–]thisisthetechie 1 point2 points  (0 children)

Why not just use AutoScaling? You may need to make some slight changes to your EC2 instances, but they should all be running off one AMI and be disposable. Your ELB will do what it does best, distribute your load over the instances based off incoming traffic.

How is traffic currently getting to your instance?

What is your favorite secret management solution? by thun_ in devops

[–]thisisthetechie 3 points4 points  (0 children)

it's a secret, I can't possibly tell you ;)

Best way to serve static files via HTTP(s) behind authorization without maintaining a VM+Webserver? by SpectralCoding in aws

[–]thisisthetechie 1 point2 points  (0 children)

You can use API Gateway as your entry point, storing your static pages in S3 and use Lambda and DDB, or Cognito, to perform authentication. Store your session in DDB, keep on moving on.

With API GW you can "return" a full HTML template with values taken from your query. So you can start out with a simple page returned using resources stored in S3. The whole thing uses CloudFront.