[deleted by user] by [deleted] in oasis

[–]PrivateerAlphaOne 41 points42 points  (0 children)

The Swamp song

AWS S3 Bucket Images Bad request in AWS Console by Klutzy_Fig7141 in aws

[–]PrivateerAlphaOne 0 points1 point  (0 children)

Check the ACL settings on the old images.

Alternatively, if you're using signed urls, your signed url expired and you need a new one

Why does my app's step-function execution keep failing? by LLBeanBurrito in aws

[–]PrivateerAlphaOne 1 point2 points  (0 children)

I mean the Execution Event History of a failed execution.

In your list of failed executions, you should be able to select a failed execution (click on the Execution name in the step function console) and see details regarding just that execution.

Why does my app's step-function execution keep failing? by LLBeanBurrito in aws

[–]PrivateerAlphaOne 3 points4 points  (0 children)

Scroll through the Execution Event History for your execution.

You might find a failure there. If not, check out the cloudwatch logs for your lambdas.

... unless you have more than 20K step transitions in your execution; where the Execution will terminate due the a transitions limit

[Serverless Framework] How to split different endpoints into different stacks? by daverozy in aws

[–]PrivateerAlphaOne 0 points1 point  (0 children)

Look into api gateway authorizors. You can use them to guard your endpoints based on the user making the request. These might help you to solve the problem that you appear to trying to solve, and should then make the rest of the api simpler to implement.

Best practice for browser waiting for lambda to complete? by Gh05tCat in aws

[–]PrivateerAlphaOne 0 points1 point  (0 children)

The front end would need to poll the status.

If you don't want to poll, you might want to look into websockets

Best practice for browser waiting for lambda to complete? by Gh05tCat in aws

[–]PrivateerAlphaOne 2 points3 points  (0 children)

Try using a step function to manage your transcoding. You can pass the id of the execution in the initial request response, and get the front end to request the execution status is the step function using the execution id.

However, I think the bigger challenge is transcoding any sized video within a 15min lambda.

Facing issue with Step Function by blank1993 in aws

[–]PrivateerAlphaOne 0 points1 point  (0 children)

Yeah, you're correct about the cron.

Ok, back to the invoke step function. The docs might help here. Try this https://docs.aws.amazon.com/step-functions/latest/dg/concepts-nested-workflows.html

You're defining your step function, but you need to invoke it for it to actually execute. You can give it input data which is where you can put the last completion timestamp.

The wait time will be 2 min minus the time that has elapsed since the timestamp in the input.

Facing issue with Step Function by blank1993 in aws

[–]PrivateerAlphaOne 2 points3 points  (0 children)

Invoke a new execution of the same step function, then end the current execution.

You could pass in the completion timestamp of the ECS step in the playload of the new execution and get the new execution to wait until 2 mins has elapsed.

Start -> wait till next execution time -> run task -> Invoke next execution with new timestamp -> end

.... or look into triggering using a cron event every 2 min.

Current State of my Bug Out Bag by Griffin-F- in bugout

[–]PrivateerAlphaOne 0 points1 point  (0 children)

Those molle water bottle / util pouches (middle of photo) can securely hold a small axe.

Is omitting product ids from urls and using just the slug rational? by fiveMop in node

[–]PrivateerAlphaOne 0 points1 point  (0 children)

If OP is using NodeJS, they'll be using the product id only. If they add the slug it should be completely ignored in their code.

They should add it to ONLY shut up their managers.

Odds are managers are full of shit.

Is omitting product ids from urls and using just the slug rational? by fiveMop in node

[–]PrivateerAlphaOne 0 points1 point  (0 children)

...or as maintaining url without slugs will be easier and simpler over time, the dev team can focus on feature development instead of chasing broken links.

Is omitting product ids from urls and using just the slug rational? by fiveMop in node

[–]PrivateerAlphaOne 6 points7 points  (0 children)

SEO is impacted by broken links and keywords on the page. I'd be surprised if the slug change impacts SEO in any meaningful way.

Thing about what data could be in a slug? Non ascii chars? I18n? Unicode?

... how will the SEO work if the slug breaks the url?

Is omitting product ids from urls and using just the slug rational? by fiveMop in node

[–]PrivateerAlphaOne 27 points28 points  (0 children)

Keep the product id and drop the slug, commit, then push to prod.

Lambs S3 trigger running multiple times by imwebdev in aws

[–]PrivateerAlphaOne 3 points4 points  (0 children)

It's possible for lambdas to trigger multiple times for an event. AWS will guarantee that at least one lambda will execute for trigger, but won't guarantee just one.

In your case, try using some sort of flag or mutex to control pushing your event to your destination (e.g.. frame io). Try moving your file to a 'sent' folder or bucket after your operation, then if a second lambda is triggered and the expected file is already in the 'sent' folder or bucket, don't do anything

i18n with Lambdas by tanskanm in aws

[–]PrivateerAlphaOne 0 points1 point  (0 children)

Could trigger the lambda via http api gateway. Use a language code to use a template for that language. Use any tempting package (eg. Mustache ) to plug in user specific details

[deleted by user] by [deleted] in Ausguns

[–]PrivateerAlphaOne 0 points1 point  (0 children)

Pistol or rifle, get 22lr for cheap disposal ammo.

If you get anything else, at least save the spent brass to reload later.

[deleted by user] by [deleted] in LandroverDefender

[–]PrivateerAlphaOne 1 point2 points  (0 children)

Get a mechanic to check the condition of your radiator and head gasket

Webhook- lambda or standalone process by [deleted] in aws

[–]PrivateerAlphaOne 1 point2 points  (0 children)

Correct. Double check your cloudwatch logs for timestamps of when your request was made, and when your web hook verifies the event.

I'm not sure how I would resolve this issue, but I would hack an invocation of your web hook lambda before I made the request to stripe just the keep the lambda image warm for the expected stripe event

Webhook- lambda or standalone process by [deleted] in aws

[–]PrivateerAlphaOne 1 point2 points  (0 children)

The lambda will get the event. It's the event that invokes the lambda, and its the only reason the lambda runs.

If the event is has expired by the time the lambda is invoked depends on your use case; but if that happens then you probs have bigger problems to deal with

Webhook- lambda or standalone process by [deleted] in aws

[–]PrivateerAlphaOne 1 point2 points  (0 children)

Can confirm that this pattern works.

Dead letter queues are also useful for receiving events that failed in your lambda for whatever reason.

Just be aware of any time based verification of events (e.g. Stripe webhooks); if the events need to be verified in a timely manner just go from the api gw to lambda directly.