To answer your questions in order:
- It's completely up to you. If it were me, where I have code on the EC2 instance that is receiving the form that is submitted by the client, I would insert the data into the database and then create the EventBridge event. But you could also do it with a trigger in your database. You might also have a periodic job that runs to ensure that the events in the database are in sync with EventBridge.
- You want to create a Scheduled event which is effectively "cron in AWS". From that event you can call other services. In this case you might consider launching a Lambda function to send the message to the client.
- asked 2 months ago
- Accepted Answerasked 4 months ago
- asked 4 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 2 years ago
- How can I get my Lambda function to work correctly with my Amazon EC2 instance or the AWS Instance Scheduler?AWS OFFICIALUpdated 2 years ago
- EXPERTpublished 5 months ago
- SUPPORT ENGINEERpublished 4 months ago