Is there any way to configure enable two way sms in cloud-formation, At this moment we are doing this two way sms step manually, we like to automate the process, i tried searching documentation i couldn't find out any, so want to know is it feasible? If yes may i know how to configure it?
Related
I have a serverless infrastructure that has a front-end web app. In this front-end, users can select specific times of day for taskX to occur.
I know (and have) set up events to occur on a recurring schedule with a manually-created (with serverless framework) cron-based trigger. It's my understanding I could use a cron to trigger at specific times as explained here: How to trigger a Lambda function at specific time in AWS? and here: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-run-lambda-schedule.html ...
...however, I don't know how I would programmatically create (and also remove) these events using the AWS SDK. (also noting I might have thousands of said events - Perhaps eventbridge isn't the right tool?)
Suggestions on how to do this?
As I understood your question correctly, you need to set up a one-time schedule. Recently(10-Nov-2022) AWS launched a new service called EventBridge Scheduler and it supports a One-time schedule. I already added an answer here, please have a look. If not comment below, I might think I can help you.
I am able to make manual calls to my customers. However, if I want to send an automated message to these customers the previous night, is it possible? What could be the possible steps:
The customer information can be stored in a DynamoDB table.
I can create a contact flow: Start, Call Phone no, Set Voice, Play Prompt, End flow
If the flow is correct then which block will make the db/Lambda call? (Is it play prompt?)
I tried using StartOutboundVoice but if the contact flow is Outbound Whisper then it does not work.
Really appreciate some help.
TLDR: create a lambda to call the StartOutboundVoiceContact API action
Here are two guides from AWS which I found quite useful
Automating outbound calling to customers using Amazon Connect
Creating an outbound calling solution during a pandemic using Amazon Connect
The authors go through a couple of use-cases which you may find relevant.
For example say I build a workflow that uses 10 lambda functions that trigger each other and are triggered by a dynamodb table and an S3 bucket.
Is there any AWS tool that tracks how these triggers are tying together so I can easily visualize the whole workflow I’ve created?
Bang on, few months ago, I too was in a similar situation for my distributed architecture running on AWS.
So far, I have found the following options as possibilities. I'm still figuring out which is more suitable. But, hope this information helps you.
1. AWS-Native option :: Engineer your Lambda code to trigger Cloudwatch custom-metrics for any important events from within the code. Later, you may use Cloudwatch dashboard to visualize them.
2. Non-AWS options :: There are several of them, but all of them require you to engineer your code with their respective libraries / packages to transmit the needed information. Some of them support ASYNC invocations, so it shouldn't keep your master lambdas in the waiting state for log tracing.
IOPipe
Epsagon
3. Mix of AWS & Non-AWS :: This is a more traditional approach to our problem. You log events to Cloudwatch Logs (like how Lambda does it out of the box), "ingest" these logs into popular log management and analysis SaaS tooling to make sense between these logs via "pattern-matching" and other proprietary techniques.
Splunk Cloud
Datadog
All the best! Keep me posted how it is going.
cheers,
ram
If you use CloudFormation you can visualize the resource relations with CloudFormation Designer. However, if you don't have the resources in a CloudFormation stack, you can create one from all the existing resources.
I am new to AWS. Can anyone please tell me how to track user activities like login, logout, other stuff etc in AWS CloudTrail. Also, I need to mention that I want to track all users activities which are in my group. Please help.
Also, what kind of user activities we can track by using cloudTrail??
With cloudtrail you could monitor all things that happens in your aws account. The cloudtrail logs are good detailed and have full information of an event, like login or user creation, for example.
In order to visualize and manage alerts, you have to develop and deploy a solution. There are a lot of solutions out there.
Check these:
https://aws.amazon.com/es/blogs/mt/monitor-changes-and-auto-enable-logging-in-aws-cloudtrail/
https://aws.amazon.com/es/blogs/big-data/streamline-aws-cloudtrail-log-visualization-using-aws-glue-and-amazon-quicksight/
In my personal experience, I deployed an ELK solution in order to analize and visualize the logs.
The solution you will deploy depends a lot of your use case. So, for example, if you need a complex systems that manage multiple alerts, notifications and complex alerts conditions, I strongly recommend that you use an ELK system. But if you just want to alert when a critical event is triggered, you could use some of the AWS-Blog solutions.
I found another solution that don't require to develop code and use only aws services:
https://github.com/awsdocs/aws-cloudtrail-user-guide/blob/master/doc_source/monitor-cloudtrail-log-files-with-cloudwatch-logs.md
I managed to deploy a AWS Lambda function using Travis, however I also need to add a trigger to it (in my case it's Kinesis). Has anyone done it? If there is no out of the box way to do it with travis I suppose I need to add the script using AWS CLI? Anyone has done it and could share some advice or where I could take a look as reference?
I wanted primarily to add the trigger with Travis but Terraform makes it much simpler.
https://www.terraform.io/docs/providers/aws/r/lambda_event_source_mapping.html
So I can create my IAM roles, Kinesis Stream and the event mapping between Kinesis and Lambda using terraform https://www.terraform.io/docs/providers/aws/r/lambda_event_source_mapping.html
If you have any different ways that you believe is better, please do not hesitate in adding here. Thanks.