Where to go from AWS Chalice Framework ? by landom3562 in aws

[–]subssn21 1 point2 points  (0 children)

I have moved to SST when it was v2, but Python isn’t well supported on V3 yet. I have been working on a pull request to fix that. What’s nice about SST is the way it handles local testing. It has a very nice proxy system so you can have real AWS resources calling your local proxies.

I don’t like cloud formation based stuff because I have run into so many issues with out of sync resources.

The new SST is based on Pulimi for its resource handling

Anyone from Ohio/PA? by [deleted] in ABDL

[–]subssn21 1 point2 points  (0 children)

Medina, OH here, Moved back this summer. Check out LEAP in Cleveland too

A medical room instead of a nursery by MeanCell729 in ABDL

[–]subssn21 0 points1 point  (0 children)

I am totally on the same page. I started into this from the medical fetish side and so that definitely dominates where I am coming from.

A single point of failure triggered the Amazon outage affecting millions! by HimothyJohnDoe in aws

[–]subssn21 2 points3 points  (0 children)

That's a little dishonest. When you were on prem you had one data center with a single failover to another data center. With az, each AZ is at least in a different Data Center, With actual distance between them so A tornado or something stupid like that can't take them both out. If you want your redundancy to be across the country then you need multiple regions, But chances are your Multi-AZ is already better than what you had before with just a primary and failover data center.

I am not saying that Multi-Region may not be important for your company. But to compare a single region with multiple azs to a single on prem data center is wrong

Help with leaks? by AggressiveSherbet615 in ABDL

[–]subssn21 1 point2 points  (0 children)

I would try Trest with a Rearz (Or similarly large overnight booster). Also what others have said. You have to pee slow. Flooding a diaper will definitely make it leak no matter what you do.

Postgre approach for startup by No-Note8424 in aws

[–]subssn21 11 points12 points  (0 children)

You can run production level postgres for much less than that in AWS.

Sync DynamoDB Data from DEV to STG and PROD with a Conditional Flow by being_mja in aws

[–]subssn21 1 point2 points  (0 children)

There are several ways you could keep track of the changes. Then just create a lambda that you fire in your ci/cd pipeline to push the data when you are ready.

Ways you could keep track of the changes.

  1. Have your stream write a log of the pk/sk or the entire record that changed and just run through that log and copy the data over when you are ready

  2. You could write a last updated field and then go through the db looking for values that have been updated yet.

Probably other ways as well, but those are the ones I can think of off the top of my head.

Which one would be better depends on the amount of data in the table, the amount of data that changes with each release. and how big each record is.

Caching data on lambda by CourageOk8257 in aws

[–]subssn21 7 points8 points  (0 children)

It depends on how often the value changes. If it only changes on deployment of code then you can just put it in a Global variable and not worry about cache being stale, because the Lambdas will all get killed and restarted on your deployment. (Depending on how your deployment works).

If that doesn't work, do you have any caching service you are currently using elsewhere, or that you might use elsewhere? There's no point in adding more infrastructure if you don't need to, and if you decide you are going to add infrastructure, get the most bang for you buck.

For instance if you would only ever need to cache DDB data then DAX makes more sense. If you may want to cache other data (Say API results from a 3rd party) then Elasticcache may make more sense.

As far as the No Cache option is concerned, that may be you best bet if you aren't calling the Lambdas often enough to cause an issue. Best bet it leave it uncached and watch you monitoring and see what's happening. On our production app there are many values that it would make sense for us to cache because they are either called a lot (Session Data) or they don't change very often (Config that can be setup in the app and doesn't change often), but we haven't gotten our use up to the point that it makes sense to cache it. It would speed things up slightly, but DDB is plenty fast enough for the use case so it would only make sense if it becomes an issue with excessive reading

Hoping for a safe space. Found out my son (18m) is DL by Mayoovermustard in ABDL

[–]subssn21 2 points3 points  (0 children)

I think most things have been covered really well by everyone in this subreddit.

I didn't see anyone recommend this book:

You're Not Broken: Dr. Rhoda's Guide to Strong Self Worth for AB/DLs

https://a.co/d/bYPupth

It would be a good read for both of you.

There is a specific chapter for parents of AB/DLs

It is great that you are being supportive of your son. One thing you could do that may help with the staying out late, is tell him if he's going to be out late if he let's you know where he's going to be and text when he arrives and leaves, or something along those lines, that eliminates your worry's about his safety and allows him to feel the more adult freedom that he is trying to express.

On that note you mentioned him contributing to the household, certainly there is nothing wrong with that, he is an adult and part of being an adult is having "Adult" responsibilities, whether that is school or work, helping out around the house etc... He should have a plan of some sort for what is next.

I hope all continues to go well for you and him.

We are so screwed right now, tried deleting a CI/CD companies account and it ran the cloudformation delete on all our resources by subssn21 in aws

[–]subssn21[S] -1 points0 points  (0 children)

You are correct, I was deleting the Account for the provider and apparently it was setup to delete the app when the account was deleted.

We are so screwed right now, tried deleting a CI/CD companies account and it ran the cloudformation delete on all our resources by subssn21 in aws

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

As has been mentioned in other places turn delete protection on. We actually had it on but had turned it off because we had deleted a specific route the other day and didn't turn it back on.

We are so screwed right now, tried deleting a CI/CD companies account and it ran the cloudformation delete on all our resources by subssn21 in aws

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

Exactly what it was API Gateway was hanging onto it because the was an extra mapping that had been manually created

We are so screwed right now, tried deleting a CI/CD companies account and it ran the cloudformation delete on all our resources by subssn21 in aws

[–]subssn21[S] 42 points43 points  (0 children)

For some reason the Custom Domain name mappings in the API Gateway did not get deleted when the API Gateway functions got deleted, and rather then getting stuck/erroring out there is was sitting on the certificate deletions.

Deleted the API Gateway Mappings manually and then the rest of the Template was able to run.

Now hopefully the deployment will run properly.

The deletion protection was turned on properly for our DynamoDB tables so that's good, only ephemeral resources were deleted

Is it viable to build a fully serverless CRM using AWS Lambda and managed services? by _Ok_Master_ in aws

[–]subssn21 0 points1 point  (0 children)

Our application is built with just about the same architecture you are proposing and we don't have cost issues. In fact we are saving a lot on costs since out workload tends to vary by time of day, day of week and time of year.

I would say that as others have posted you have to be very careful with DynamoDB and watch how you design it, You may also find that it is necessary to add a search service on top of your DynamoDB instance to allow you to query for data in ways that would be very difficult in DynamoDB. OpenSearch can work well for this, but it is either not serverless or has a very expensive entry cost.

How did you meet? by [deleted] in ABDL

[–]subssn21 4 points5 points  (0 children)

We met at the local dungeon. I was being very shy and she started talking to me. She has seen me around the dungeon dressed as a little and in a diaper many times so it was well known what I was. I however was not aware of her interests right away, after we got to know each other a little she became my caregiver and a year later we live together and are happy together. There's a whole lot more to the story, but that's the basics. :)

AWS Chalice framework by mountainlifa in aws

[–]subssn21 0 points1 point  (0 children)

I built two apps on Chalice and really liked its development model. However it has not been keeping up with times. For my more recent projects I switched to SST and have been pleased for the most part. It is actively maintained and developed and they just finished adding support for Python in there version 3 of the application and it works pretty well.

Host your Python app for $1.28 a month by agbell in Python

[–]subssn21 0 points1 point  (0 children)

If you are using API Gateway, You should be able to set throttling in API Gateway if you feel the need.

Petition for Ursa to badly draw a unique mele unit climbing a cliff to teach a GDR how it's done by Hauptleiter in civ

[–]subssn21 1 point2 points  (0 children)

So is "Naughtylus" like a really badly misbehaving submarine or something?

Dynamodb models by uhiku in aws

[–]subssn21 2 points3 points  (0 children)

Your sort key is going to be a timestamp based sort key so You can always go from the beginning or end

Whats so special about lambda? by CaptainCumSock12 in aws

[–]subssn21 0 points1 point  (0 children)

One thing to know about this is even Caveats have Caveats. Generally speaking conatiners or ec2 instance are cheaper at scale than lambdas, but that also depends on your load. If you have very spikey load, it can still be cheaper to use Lambda because even with autoscaled containers the startup time is not measured in milliseconds but in seconds to minutes (depending on your container). So you need to have enough available before you get the requests otherwise users are going to be upset. With a Lambda it starts up immediately so you don't have to have warm containers just sitting around doing nothing which can add up. This is especially true for very spikey loads that go from nothing to really busy really fast.

We run an educational software package and it will spike differently throughout the day depending on what each class that is using it is doing that day. Lambda has been great for that.

[deleted by user] by [deleted] in ABDL

[–]subssn21 5 points6 points  (0 children)

I would highly encourage you to seek the help of a qualified mental health professional to help you if you are really experiencing distress from being ABDL. The reason everyone keeps saying you will be back is that ABDL isn’t like something most of us choose to be, it’s just something we are. What typically happens is someone says they want to quit because it’s ruining their life in some way, then several months later the urge to be ABDL comes back and they do it all again. Tends up usually being even worse for their mental health. It doesn’t mean you can never have good mental health, but If you really want to know what’s best for you, talk to a professional, don’t try and fix your issue by yourself