Issue with deployment
# support
u
Hey, I'm new here and in medplum 🙂 I'm trying to test deploy to AWS, but I'm continuously getting this error when running CDK deploy. 12:28:40 AM | CREATE_FAILED | AWS::CloudFront::Distribution | StorageStorageDistributionAF8103AC Resource handler returned message: "Invalid request provided: AWS::CloudFront::Distribution: The specified SSL certificate doesn't exist, isn't in us-east-1 region, isn't valid, or doesn't include a valid certificate chain. (Service: CloudFront, Status Code: 400, Request ID: can someone help me. thanks
r
Hi @_rdrdrdrd - do you mind explaining what process you used to set up your SSL certs? And what region are you deploying to?
u
Hi @rahul1 , I'm in us-east-1. Since the automated script didn't worked, I created manually the SSL certs in ACM
r
ok, so I wanted to clarify where you are in the workflow, as it relates to these instructions 1. You configured your custom name servers in Route 53 ?(https://www.medplum.com/docs/self-hosting/install-on-aws#configure-your-name-servers) 2. You used the
medplum aws init
tool to generate SSL certs, but failed ?can you describe the error message you got? 3. You manually created SSL certs in ACM, for app.domain.com, api.medplum.com, and storage. 4. You validated the SSL certs for your domain (https://www.medplum.com/docs/self-hosting/install-on-aws#optional-validate-certificates) 5. You added the SSL certificate ARNs to the CDK config file? 6. You ran
cdk deploy
cc: @sanket_89360, this might be valuable for you
@_rdrdrdrd , I just wanted to follow up