Connecting your environment to Lumigo is simple with our onboarding wizard. The wizard takes you through the following two steps, after which you'll have Lumigo fully integrated with your AWS environment.
Lumigo needs permission to access your AWS account so that we may gather metrics and collect logs from your environment.
This is managed through the creation of an IAM role in CloudFormation's native wizard flow, as follows:
- In the Lumigo dashboard, click on "Connect Lumigo". This takes you directly to the "Quick create stack" wizard in your CloudFormation console.
- Click the "Next" button and accept all default settings.
Once you've completed the CloudFormation wizard, AWS will send the ARN of the newly-created IAM role to Lumigo.
The automated process can take up to four minutes to populate the ARN. If you don't see activity after this time has passed, you can add the ARN manually. Copy the ARN from CloudFormation's "Outputs" tab (the RoleARN value), and paste it into Lumigo by choosing to add the ARN manually.
Now that your AWS and Lumigo accounts are linked, you need to tie Lumigo's tracer into your Lambda functions. This addition is crucial in allowing Lumigo to analyze logical flows, analyze performance, display debug information, produce insights, and generate alerts. Integrating Lumigo's tracer is hassle-free, and can be done either automatically or manually.
Auto tracing, as the name implies, adds the Lumigo tracer to your Lambda functions automatically. This tracing method leverages Lumigo's Lambda layer, allowing you to instrument and trace your functions without modifying your source code.
Manual tracing lets you control the Lumigo tracer at the code level, using our dedicated tracing functionality in any way needed. Manual tracing gives you access to more advanced tracing information, and allows you to integrate Lumigo into your CI/CD pipeline.
Updated about a month ago