- Overview
- Cost
- Prerequisites
- Solution Overview and Architecture
- Deployment Steps
- Deployment Validation
- Running the Guidance
- Next Steps
- Cleanup
This Guidance shows you how to deploy and manage Amazon Connect using Infrastructure as Code on AWS, enabling rapid contact center setup and optimization. The solution uses AWS CloudFormation templates to automate the provisioning of Amazon Connect instances, along with integrated AWS services for a complete contact center solution. By implementing this Infrastructure as Code approach, you gain consistent, repeatable deployments while reducing manual configuration errors and streamlining your operational processes.
This Guidance is designed to be adaptable, allowing you to customize the deployment to meet your specific business requirements while maintaining operational excellence. This solution provides a foundation for delivering exceptional customer experiences at scale.
You are responsible for the cost of the AWS services used while running this Guidance. The cost for running this Guidance with the default settings in the US East (N. Virginia) is approximately $47.27 per month for 1000 mins of inbound calls per month, with all calls analyzed by Contact Lens and getting recorded.
The following table provides a sample cost breakdown for deploying this Guidance with the default parameters in the US East (N. Virginia) Region for one month.
AWS service | Dimensions | Cost [USD] |
---|---|---|
Amazon Connect Voice Inbound | 1000 minutes | 18 |
Amazon Connect Voice Inbound (Telephony) | 1000 minutes | 12 |
Amazon Connect Voice Inbound (Number) | 1 toll-free number | 1.83 |
Amazon Connect Contact Lens (Conversational Analytics) | 1000 minutes | 15 |
Amazon Connect Contact Lens (Conversational Analytics) | 1000 minutes | 15 |
Call Recordings (S3 Standard Storage) | 1000 minutes | 0.04 |
AWS Secrets Manager | 1 Secret | 0.40 |
For this guidance, it is assumed you have the following prerequisites:
- An AWS account with administrator access to following services - Amazon Connect, AWS Lambda, AWS Secrets Manager, AWS AWS CloudFormation, Amazon S3.
Figure 1: Solution architecture
- Customer calls the Amazon Connect contact center phone number
- Agent gets the call on the Agent workspace and answers the call
- The call recordings get stored in Amazon S3 bucket
- For management, the performance logs are saved in Amazon CloudWatch and audit logs are saved in AWS CloudTrail
- S3 bucket data is encrypted using AWS KMS Key
The above solution deploys the required resources and follow the pattern:
- Amazon Connect Instance
- User stored in Amazon Connect
- Secrets manager to store user password
- Unique instance alias with Amazon Connect Agent Workspace URL
- Toll free number
- Amazon Connect Contact Flow
- Amazon S3 bucket for Connect call recordings.
- KMS keys for Connect data
- Download the amazonconnect.yaml file from the deployment folder in the repository. After downloading, access your AWS console and navigate to CloudFormation. Click on Create stack, keeping the default selection for Prepare template. For the Specify template section, select Upload a template file and upload the YAML file you just downloaded to your local machine. Once the file is uploaded, click on Next.
- Provide the required parameters:
- Stack name
- Proceed with the stack creation steps.
Note: It will take few minutes for the stack to complete the deployment.
- Open CloudFormation console and verify the status of the template with the stack name created in deployment steps
- Once the stack is deployed, get the Password from Secrets manager for AdminUsername and in the cloudformation Output tab, note the value of the AdminUsername, and TollFreeNumber. Login to the ConnectInstanceUrl with these credentials.
- Navigate to the ConnectInstanceUrl. Log in to the application with the AdminUsername and Password collected in previous step. Make sure you allow microphone to access this URL and allow notifications if this pop up in your browser.
- Set agent status as available in the agent workspace to take the first call.
- Call the TollFreeNumber for your first call experience and accept the call from Agent workspace.
Here are some suggestions and recommendation about how you can modify the components of this guidance to further enhance it according to your requirements.
- Contact Flow Customization:
- Modify the default Contact Flow to add more complex routing rules
- Implement additional IVR (Interactive Voice Response) menus
- Add custom prompts and messages
- Monitoring, Reporting and Analytics:
- Expand the CloudWatch logging capabilities
- Create real-time/historical metrics and reporting dashboards
- Explore Contact lens for speech analytics
- Storage Configuration:
- Modify S3 bucket lifecycle policies for call recordings
- Implement different storage classes for cost optimization
- Add additional backup and retention policies
- Agent Management:
- Set up additional agent hierarchies
- Configure more detailed routing profiles
- Implement custom agent scheduling
- Integration Possibilities:
- Add integration with other AWS services
- Connect with external CRM systems
- Implement additional Lambda functions for custom business logic
- Select the CloudFormation stack created earlier.
- Click on Delete. This will delete all the resources created as part of this CloudFormation stack.