-
Notifications
You must be signed in to change notification settings - Fork 293
Installation_Prerequisites
If your connector's Lambda function(s) will run in a VPC, you need to ensure that the Lambda functions will have network connectivity to its dependencies, which are connector specific but can include:
- Amazon S3 - for spilling large responses.
- AWS Glue DataCatalog - for metadata (if your connector is Glue enabled).
- Amazon Athena - for checking query status and preventing overscan.
- AWS Secrets Manager - for resolving any secrets (e.g. password) that you need for your connector.
- AWS KMS - for generating data keys to encrypt large responses that spill to S3. (you can optionally use a local key source)
- Ability to contact your source system (e.g. MySQL, Hbase master, etc...) - for federating to the source system.
Most of the time you can resolve the above issues by adding VPC endpoints for the required services or running your connector in a VPC that has an internet gateway. The way you solve this problem is dependent on your network topology. The safest option is usually adding a VPC endpoint since that doesn't require internet access.
In addition to network connectivity requirements, your connector will require a S3 Bucket and Prefix to spill response data too. This data is encrypted by default and can optionally use KMS for data keys. For more information on what may be spilled to S3, please check our FAQ.
In order to develop, build, or publish a connector for later deployment to Lambda you will need:
- maven 2.5.x installed
- aws cli
- aws sam build tool
- Java 8+
If you are using Cloud9, AmazonLinux, CentOs, or Redhat you can either use these instructions to develop inside a container_env here or start with our environment prep script to see the specific commands you may need to run to setup your development environment. This script wont work for MacOS or Windows but many of the commands have analogs on those operating systems.