ThumbServerlessApp

API Gateway Authentication via Cognito: Serverless Magic with Lambda !

We’ll explore the process of enabling external user authentication through Cognito, providing them access to a secured REST API on API Gateway. The video showcases how users can not only authenticate via Cognito but also access and manage an EC2 instance within an AWS account. This functionality includes retrieving the instance’s status and, if stopped, automatically initiating a start-up. This comprehensive solution serves as a server health application for external users, ensuring their EC2 instance remains operational. Additionally, initiating an instance start triggers a message publication to an SNS topic, broadcasting updates to all subscribed users. The versatility of this solution is highlighted, allowing customization of the code in the secondary REST API to align with your specific requirements

Add a Comment

Your email address will not be published. Required fields are marked *