

# Comparison of the AWS AppConfig extension in AWS Systems Manager Cloud Extensions with the AWS AppConfig Agent

The AWS AppConfig extension and the AWS AppConfig Agent both retrieve configurations from AWS AppConfig, cache them locally, poll for updates, and evaluate feature flags.
+ **AWS AppConfig Agent** – You install and run the agent yourself. The agent runs as a process on Amazon Elastic Compute Cloud (Amazon EC2) or on premises. It runs as a container in Amazon Elastic Container Service (Amazon ECS) or Amazon Elastic Kubernetes Service (Amazon EKS). You can also run it as an AWS Lambda extension. You configure it with environment variables, and your application calls it with HTTP `GET` on port 2772.
+ **AWS AppConfig extension** – You add the extension to a Cloud Extensions profile. You configure it with settings on the profile entry and approve its capability. The extension runs in Lambda functions and in containers. In Lambda, your application calls it over HTTP through the Cloud Extensions runtime on port 5333. The extension reports cache metrics through Cloud Extensions.