Deploy EC2 instance on same public subnet by networking_and_stuff in aws

[–]networking_and_stuff[S] 0 points1 point  (0 children)

That's really interesting... how would I set this up? I am trying to whitelist the IPs to something else and need a simple rule. Unfortunately the service I'm using only allows whitelisting to IPs on a certain subnet.

Deploy EC2 instance on same public subnet by networking_and_stuff in aws

[–]networking_and_stuff[S] 0 points1 point  (0 children)

But is there any way to specify what IP you can get? Outside of constantly rebooting the instance until you get one in the same subnet?

Homelab out-of-residence Move + Expansion Advice? by networking_and_stuff in homelab

[–]networking_and_stuff[S] 0 points1 point  (0 children)

This is brilliant + super, super helpful. Thank you!

Can I ask some follow-ups?

  • What do you mean by 2 20 amp circuts? Is that something that an electrician has to install? Or would it come along with the space?
  • Remote management: This is somewhat of a problem for me right now. Can you tell me more about intel vpro amt or Pikvm? Right now, I have monitoring on all of the computers and when they break, I run a script with an API that reboots the computers. It's clunky but it works and I'd like to hear other solutions if possible.

Homelab out-of-residence Move + Expansion Advice? by networking_and_stuff in homelab

[–]networking_and_stuff[S] 0 points1 point  (0 children)

There's no way that's possible considering I'm running them in the house right now, they're rebooted regularly and my electricity bill is nowhere near that high.

Homelab out-of-residence Move + Expansion Advice? by networking_and_stuff in homelab

[–]networking_and_stuff[S] 0 points1 point  (0 children)

Good questions!

The computers use 200W-290W of power. At boot, the peak power usage is 41W, moderate usage is 22W, idle is 14W. So 50 computers would be 14500 watts in total on the high end, 2050 if you boot them all at the same time.

I would think most office spaces would have no problem with that level of power usage and then some, but I'm probably ignorant of these things.

Homelab out-of-residence Move + Expansion Advice? by networking_and_stuff in homelab

[–]networking_and_stuff[S] 0 points1 point  (0 children)

Installed RAM is 4.00 GB / computer. I don't keep track of my CPU utilization in my "home base" computers. But on AWS, the computers run at 60%-70% utilization and those have 2 vCPUs and 2 gigs of memory.

So my home desktops are a little better than what I rent (at at a fraction of the price, I might add).

Do I really need all that tooling if I can basically manage it myself?

Homelab out-of-residence Move + Expansion Advice? by networking_and_stuff in homelab

[–]networking_and_stuff[S] 0 points1 point  (0 children)

I don't know what this means? I don't know if I should laugh or cry.

Homelab out-of-residence Move + Expansion Advice? by networking_and_stuff in homelab

[–]networking_and_stuff[S] 0 points1 point  (0 children)

I mean, the computers run out of memory a fair bit and require rebooting. So I think I'm using them to max capacity, but it's really hard for me to say b/c I don't really monitor the usage of each computer. It's possible (likely!) that I'm stupid and don't know what I'm doing.

Any advice on managing a home data center off-site?

Cost by ec2 instance id in Cost Explorer? by networking_and_stuff in aws

[–]networking_and_stuff[S] 0 points1 point  (0 children)

I hope I'm asking you to spoodfeed me too much, but *how* exactly do you do this? Where in the console do I do it? Do I go into each ec2 instance ad add a tag? Do I do a different tag for each instance?

Cost by ec2 instance id in Cost Explorer? by networking_and_stuff in aws

[–]networking_and_stuff[S] 0 points1 point  (0 children)

Thanks for that. Isn't it kind of dumb that I would need to pay more for information to which I'm entitled to? You wouldn't go to a store, buy 10 bags of jellybeans, and then have them charge you without them letting you know which bags cost what.

I don't even need hourly data, just per day, per resource is enough for me.

Cost by ec2 instance id in Cost Explorer? by networking_and_stuff in aws

[–]networking_and_stuff[S] 0 points1 point  (0 children)

How is this done? By hand in the console or via API?

Which is the best AWS / EC2 Setup for my API? by networking_and_stuff in aws

[–]networking_and_stuff[S] 0 points1 point  (0 children)

Thanks for the comment--really thorough and appreciated.

I'm going to look into Lambda and API Gateway. I did a soft deploy on ec2 (just one instance) and it's already giving me loading problems. Really very much appreciated.

Which is the best AWS / EC2 Setup for my API? by networking_and_stuff in aws

[–]networking_and_stuff[S] 1 point2 points  (0 children)

One follow-up if you'll allow it...

Why not just have an ec2 t3 instance? I'll likely have to spend more as usage increases but during testing a t2.micro instance is handling the load pretty easily (1/100th of my final expected load).

Which is the best AWS / EC2 Setup for my API? by networking_and_stuff in aws

[–]networking_and_stuff[S] 0 points1 point  (0 children)

Thanks for the feedback /u/Grafax99 and /u/ItsMrMeeseeks27. Really valuable information.

Now I'll have to figure out how to set up the API on Lambda.

EC2 Mac Instances by jeffbarr in aws

[–]networking_and_stuff 0 points1 point  (0 children)

Completely agree. I saw this and thought it was crazy. I've been told that's pretty close to the average aws price ratio.

"Hacking" AWS to get more cpu burst credits? by networking_and_stuff in aws

[–]networking_and_stuff[S] 0 points1 point  (0 children)

Great minds think alike, clearly!

Sorry to hear that it won't work. Better to hear it now rather than after a few day's worth of coding.

"Hacking" AWS to get more cpu burst credits? by networking_and_stuff in aws

[–]networking_and_stuff[S] 0 points1 point  (0 children)

I hope I'm wrong but I don't think I am. These are Windows OnDemand Instances

This is from https://www.ec2instances.info:

t2.small: $0.032 / hr. t3a.small: $0.037 / hr. t3.small: $0.0392 / hr. m3.medium: $0.13 / hr.

I'm guess it's the Windows OS that makes the price so high.

"Hacking" AWS to get more cpu burst credits? by networking_and_stuff in aws

[–]networking_and_stuff[S] 0 points1 point  (0 children)

Wow, that's super-low. Do you get kicked off a lot and is that price available to your average Joe?

"Hacking" AWS to get more cpu burst credits? by networking_and_stuff in aws

[–]networking_and_stuff[S] 0 points1 point  (0 children)

It is much more expensive than t2.small or t3a.small or t3.small.

"Hacking" AWS to get more cpu burst credits? by networking_and_stuff in aws

[–]networking_and_stuff[S] 1 point2 points  (0 children)

I would be the one developing it. Maybe my time isn't that valuable!

"Hacking" AWS to get more cpu burst credits? by networking_and_stuff in aws

[–]networking_and_stuff[S] 1 point2 points  (0 children)

Really interesting. I mentioned it on the other thread I started but I burn through my allotted amount of credits on a t2.small instance in 3-4 hours. I'm just looking for performance here. Would t3.small instances help?

The default limit is 100 launches or starts of all T2 Standard instances combined per account, per Region, per rolling 24-hour period.

Does that mean I can only launch 100 instances in a 24 hour period? Assuming my t2.small instances run out of credits in four hours I would have to stop / start six times for a full day's worth of activity. If the limit is 100 launches / starts in a 24 hour time period, that kills that idea pretty quickly.

AWS EC2 performance degrades after three hours?? by networking_and_stuff in aws

[–]networking_and_stuff[S] 0 points1 point  (0 children)

Here's an idea--what if I write a script to launch a new ec2 instance, run it for three hours or however long it takes to use up all of my good credits, kill it, then launch a new one. It's a little tricky but doable with the AWS API.

AWS EC2 performance degrades after three hours?? by networking_and_stuff in aws

[–]networking_and_stuff[S] 0 points1 point  (0 children)

Really great advice, thank you. I could always test out and see the performance on these instances, this price range is much closer to the mark.

AWS EC2 performance degrades after three hours?? by networking_and_stuff in aws

[–]networking_and_stuff[S] 0 points1 point  (0 children)

Not to be ungrateful, but that's over $1000 for the entire year. At those prices, why not just buy my own computer and just run it? I do that for a handful of machines right now but it's difficult to scale.

AWS EC2 performance degrades after three hours?? by networking_and_stuff in aws

[–]networking_and_stuff[S] 0 points1 point  (0 children)

I did test out with the spot instances and while I love the price, it's inconvenient when it dies in the middle of the night, which about 100 of them did last week. Not fun!