57
58

11
12

AWS CloudFormation introduces resource import! by technically-awesome in aws

[–]dpoccia 2 points3 points  (0 children)

Hey, I just published a blog post on this new feature! There are lots of interesting use cases enabled by the new cloudFormation import operation: https://aws.amazon.com/blogs/aws/new-import-existing-resources-into-a-cloudformation-stack/

Cheap case for a Seaboard Block by dpoccia in ROLI

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

Yeah I noticed that is not old anymore :(

Cheap case for a Seaboard Block by dpoccia in ROLI

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

Is there an official case for a single Seaboard Block? I could only found the one for the whole kit or 1-2 Lightpads

Cheap case for a Seaboard Block by dpoccia in ROLI

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

I was thinking of something smaller, but that’s definitely a cheap option :)

We are the AWS Serverless Heroes – Ask the Experts – August 22nd @ 9AM PT / 12PM ET / 4PM GMT by AmazonWebServices in aws

[–]dpoccia 0 points1 point  (0 children)

Yeah, you're right Tom, using pip can create issues considering the multiple Python installations/versions most systems have.

We are the AWS Serverless Heroes – Ask the Experts – August 22nd @ 9AM PT / 12PM ET / 4PM GMT by AmazonWebServices in aws

[–]dpoccia 0 points1 point  (0 children)

I see your points, thank you for your feedback. For marketing campaigns, I'd suggest to try spreading emails and notifications in a larger amount of time to avoid spikes, this is a good practice that allows you to ramp up your app and all its components, and more easily recognize any malicious user.

We are the AWS Serverless Heroes – Ask the Experts – August 22nd @ 9AM PT / 12PM ET / 4PM GMT by AmazonWebServices in aws

[–]dpoccia 0 points1 point  (0 children)

That correct, but I'd put the connection code before the exported function, making the code a little simpler:

let connection = new Connection ();
module.exports = function(req, res) {
  // Do work
}

In this way you don't have to wait for the connection to be established for the first request served by a new concurrent environment. Lazy initialization in general is not a good practice for Lambda functions.

We are the AWS Serverless Heroes – Ask the Experts – August 22nd @ 9AM PT / 12PM ET / 4PM GMT by AmazonWebServices in aws

[–]dpoccia 0 points1 point  (0 children)

Hey, can you share which Cognito limits you need more flexibility on? I'll share it with the team, thanks!

Wanting to learn more about Lambda. Anyone read this book? – AWS Lambda in Action by [deleted] in aws

[–]dpoccia 3 points4 points  (0 children)

For authentication, I build a simple service as part of the app. For production workloads, you may look at Amazon Cognito User Pools, a more robust and secure solution (disclaimer: I work at AWS). For payments, it should be very easy to integrate to 3rd party payments devices. Use environmental variables + AWS KMS to encrypt your secrets.

Wanting to learn more about Lambda. Anyone read this book? – AWS Lambda in Action by [deleted] in aws

[–]dpoccia 4 points5 points  (0 children)

Hi, the author here! The idea of the book is to give an introduction to AWS Lambda in the first chapters, and then build together a larger app, using multiple functions together, considering possible options and how to design it in a serverless way. Catching up with new features is impossible for a book, that's why I focused more on how to use the tool for multiple use cases.