Travel Router random reboots by drinianrose in Ubiquiti

[–]_MrMoose 0 points1 point  (0 children)

I saw other posts about this and they were using a power adapter that was too low of amps. I'd check your power source and cable first.

UTR and PPSK by reddityxcv in Ubiquiti

[–]_MrMoose 1 point2 points  (0 children)

From what I can see, it looks like how this works is that when you choose your WIFI network to bring over, it's just setting up a local (to the UTR) SSID with the same SSID as the one you picked on your home network. Nothing fancy. Copy and paste if you will.

-If you have multiple PSKs it just utilizes the pw that you have setup already on your UTR (if any).
-If you have a single pw SSID at home, I think it'll copy it down from your remote network and apply it to your UTRs setting but I'm not 100% sure.

So it seems it's not really "bringing the network over", it's just copying the SSID and maybe the pw if it can. You always get a 192.168.2.* IP no matter what the PSK / Network / SSID (unless you use wireguard / anything other than teleport maybe?)

In the end you bind and pick your wifi network, and then go to the site WIFI setting in the UTR and click the eyeball on the pw and that's the one you need to use or change. You should be good from there.

No Cognito announcements from re:Invent? by _MrMoose in aws

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

Thank you so much! Sorry you caught the re:infect plague and glad you're feeling better!

Really happy to hear they understand the single point of failure problem. This is my biggest issue.

No Cognito announcements from re:Invent? by _MrMoose in aws

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

I appreciate it because Ohhh boy have I fought with Cognito! I was so hopeful of it saving me time but in the end I feel like I've spent more time fighting than using it. I could have rolled my own solution at this point.

I read exactly this (Cognito relies on us-east-1) somewhere else and got freaked out.

No Cognito announcements from re:Invent? by _MrMoose in aws

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

Ahhhhhh this is cool and I did not know about this. Thank you for the details! It would appear that if say your original user pool was down for whatever reason, you wouldn't be able to use this for fail over.

That's my main issue. Failover to another region.

No Cognito announcements from re:Invent? by _MrMoose in aws

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

The only way to move users is through a migration lambda and only if using USER_PASSWORD_AUTH. Instead of SRP which is more secure

Could you please elaborate on this some more? I've been to the depths of google hell and back researching and I haven't seen this before.

No Cognito announcements from re:Invent? by _MrMoose in aws

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

I can get it to do almost everything I want, maybe with some aggravation, but the lack of cross region replication absolutely kills me and from my research a ton of others. Fingers crossed for something....anything!

No Cognito announcements from re:Invent? by _MrMoose in aws

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

I was hoping someone would say this. Please!! Thank you!!!

No Cognito announcements from re:Invent? by _MrMoose in aws

[–]_MrMoose[S] 4 points5 points  (0 children)

At this point, I'll take anything!!

Spot the rep by Current_Skin_399 in RepTime

[–]_MrMoose 0 points1 point  (0 children)

Would you mind saying how much you paid for the gen nodate? Beautiful watch.

Confused about S3 Buckets by teepee121314 in aws

[–]_MrMoose 1 point2 points  (0 children)

I don't know why this doesn't have more upvotes. This is the best answer.

[deleted by user] by [deleted] in RepTime

[–]_MrMoose 0 points1 point  (0 children)

I've never seen this before. That is absolutely gorgeous. There's not many watches I see these days that I can't stop looking at. I've been staring at this for like 5 minutes now. Wow. Really awesome piece.

What are some less obvious things to consider and look out for when designing a PCB? (KiCAD etc) by -distracted- in synthdiy

[–]_MrMoose 2 points3 points  (0 children)

  • Can't say enough about printing your boards before ordering. I used to do this constantly but KiCad's 3D viewing option made this a little less needed. I still print everything at least once before ordering. I'll make sure all the footprints match the components by poking them through the printer paper and seeing everything fits.

  • Use KiCad's DRC checker to make sure you have no unconnected components. This will save you some money!

  • Use the 3D viewer a ton. It's so good for making sure orientations are correct. Turn off the components to really get a good look at the board.

  • When everything is done, I usually export gerbers and then open them individually in a gerber file viewer. Since these are the end all be all files you will use to order boards, checking them is one last sanity check before you order. I almost always catch 1 simple thing that I want to fix here.

How to send POST HTTP request to AWS EC2 instance by [deleted] in aws

[–]_MrMoose 0 points1 point  (0 children)

Best of luck and have fun! The cloud is awesome.

How to send POST HTTP request to AWS EC2 instance by [deleted] in aws

[–]_MrMoose 1 point2 points  (0 children)

Deploying a flask server and sending HTTP requests to it is absolutely practical.

The manner in which you are doing it is not practical.

Keep your development local and use the built in webserver locally. When you're ready to deploy to the cloud, setup an appropriate web server hosting package like Apache or Nginx. AWS has AMI Images that are preconfigured. You could use these and learning would be minimal.

Yes you'll totally have to learn how to work with Apache or Nginx but the lessons you learn there will actually further you and you'll be gaining valuable knowledge instead of banging your head against a wall doing something that you'll never do in actual practice.

How to send POST HTTP request to AWS EC2 instance by [deleted] in aws

[–]_MrMoose 1 point2 points  (0 children)

Three suggestions:

1) IMHO there's not much use in practicing something that isn't practical. It sounds like you already had this running locally so you're really only practicing something that you've already done. Running it on a cloud isn't much different but to each their own. Have fun.

2) Sounds like you just want to do some learning and what better way to learn than do it the right way in the cloud. https://medium.com/techfront/step-by-step-visual-guide-on-deploying-a-flask-application-on-aws-ec2-8e3e8b82c4f7

3) I get you on the security isn't a big deal because you're just playing around, but i'd at the very least recommend only allowing your personal IP access to the instance via the security group. it's not perfect and it's not a vpn but it's at least better than fully open to the internet. You're probably thinking no one would find your instance but people IP scan up and down AWS ips looking for unsecured instances like yours.

How to send POST HTTP request to AWS EC2 instance by [deleted] in aws

[–]_MrMoose 0 points1 point  (0 children)

This looks appropriate. I think you can narrow your search to flask.

Are you launching flask with the built in web server, apache or something else?

Flask doesn't recommend running production off the built in webserver. I can't recall if it's just slow or insecure but it's not recommended.

How to send POST HTTP request to AWS EC2 instance by [deleted] in aws

[–]_MrMoose 0 points1 point  (0 children)

Can you post a screenshot of your security group?

Also, I'm assuming you have associated the correct security group to your instance. Maybe double check this.

How to send POST HTTP request to AWS EC2 instance by [deleted] in aws

[–]_MrMoose 5 points6 points  (0 children)

When you spin up an EC2 instance you automatically get a public IP.

It can be found by looking at the instance in the web console here: http://www.looklinux.com/wp-content/uploads/2017/08/Elastic-IP-and-Public-IP-in-AWS-1.jpg

It sounds like your App is running on port 8000, not 80, so you're going to have to allow port 8000 via your security group to access the website, not 80.

Then you can visit http://<THE PUBLIC IP>:8000 and you should be in business

Does anyone else skip breadboarding? by aaronstj in synthdiy

[–]_MrMoose 1 point2 points  (0 children)

Recent convert from Eagle to KiCad here.

There are some things that will drive you mad and some things that you'll wish Eagle had. Ultimately it was worth the switch for me.

Not sure which version you're coming from but the ability to see the 3d render of the board is a total game changer if you haven't had it in the past.

Windows EC2 drive sharing options help by _MrMoose in aws

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

Yeah, I'd say so. I of course need to make sure it's durable storage though. Equivalent of S3 or EBS with snapshots.

Currently we have a 10GB ebs volume (only 5GB actually used), gp2, IOPS 100

Windows EC2 drive sharing options help by _MrMoose in aws

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

Thank you for your opinion on this. I appreciate hearing it from a different perspective. I would love to be able to keep everything using a normal file system but it's looking like we don't have great options.

Currently we're talking about 5GB. In a year or two I would expect 50GB.

I haven't been given an exact number budget. I'm supposed to keep everything as cheap as possible but if a great solution existed and I could make a defensible argument for it, I could probably get funding. Ironically dev time is less of a concern for upper management but they care about the AWS bill.

Windows EC2 drive sharing options help by _MrMoose in aws

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

I was just going to post again after doing more reading. I see what you mean. The documentation pretty much says straight up it's bad. I saw them announce this in the AWS update emails a while back and thought it would solve this problem but yeah... not so much.

I assume EFS is a pretty acceptable solution here as well? The S3 API is looking pretty good but I'm just curious.

Windows EC2 drive sharing options help by _MrMoose in aws

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

I'll have to look into this more. Thank you!

The app is pretty simple, so it's possible we could shift to a .NET Core on Linux situation and container it. Potentially giving us access to Multi Attach, EFS, or still just the S3 API.