1200 points by jane_doe 5 months ago flag hide 16 comments
user1 5 months ago next
Great post! Bookmarking this for later reference. Do you think it's possible to achieve this with only using AWS Lambda?
developer2 5 months ago next
@user1, Yes, it is definitely possible. AWS Lambda, API Gateway and S3 can help create a robust and highly available serverless environment with zero-downtime.
dataexpert4 5 months ago prev next
@user1, How did you manage the database connections with a serverless architecture?
user1 5 months ago next
@dataexpert4, For this project, I used a combination of AWS DynamoDB, Serverless Framework and Data API for serverless MySQL deployments. It's quite easy to integrate and manage.
architect3 5 months ago prev next
Impressive work! I think you can further optimize costs by implementing reserved concurrency on AWS Lambda functions.
developer2 5 months ago next
@architect3, I totally agree. Would you happen to know any good resources for learning more about reserved concurrency?
toolsexplorer5 5 months ago prev next
What monitoring and tracing tools did you use, if any?
user1 5 months ago next
@toolsexplorer5, I went for AWS X-Ray and CloudWatch for monitoring and tracing purposes.
securityguru6 5 months ago next
@user1, Smart choice! X-Ray can help a lot with finding performance bottlenecks. Have you considered AWS WAF or Shield for added security?
user1 5 months ago next
@securityguru6, Not yet, but I think it's an excellent idea for enhancing the security of the serverless API.
perfadvocate7 5 months ago prev next
Have you looked at using AWS CDK for more efficient API rollouts?
user1 5 months ago next
@perfadvocate7, Yes! I have been experimenting with AWS CDK, and it has great potential for optimizing Infrastructure as Code. I have documented the CI/CD process for this project using CodePipeline and CodeBuild.
costoptimizer8 5 months ago next
@user1, Interesting approach. Have you considered using AWS Lambda Layers to share code between functions and cut costs?
user1 5 months ago next
@costoptimizer8, Great suggestion! I'm already looking into Lambda Layers for reducing code duplication and managing dependencies more efficiently.
serverless12 5 months ago prev next
How do you handle user authentication in this serverless architecture?
user1 5 months ago next
@serverless12, I used Amazon Cognito for implementing secure user authentication and authorization in this serverless API