5.4 KiB
HTTPS settings for doccano in AWS
- Create hosted zone in Route 53
- Create certificate in ACM
- Create EC2 instance
- Create ELB
- Create A record in Route 53
Create hosted zone in Route 53
HTTPS need a domain name. If you don't have one, you can register it by the AWS Route 53 service, or you can get one from other domain seller.
After you get a domain name, you can create Hosted Zone by Route 53.
If you register domain from Route 53, you can find it in the Hosted Zone
.
Create certificate in ACM
You should replace the domain name by yours.
Don't forget to Create record in Route 53 in step 4.
After you request a certificate, wait for a while, You should see the status become 'Issued'.
Create EC2 instance
In this part, you can just click the launch button to create a EC2 instance.
Create ELB
Click the Create Load Balancer
button and select Application Load Balancer
.
Fill the name, change protocol to HTTPS, and do not forget add at least two availability zones. Make sure the zone that EC2 instance created is included.
Select the certificate we created early.
You can select the same security groups created when you create the EC2 instance.
Or you can create a new one
Fill the target group name and leave others defualt.
Add the instance to registered.
Then review and create.
Create A record in Route 53
Back to route 53, and click Create Record Set
. Fill the subname and the ELB name in the Alias Target
.
Finally, you can access the doccano by HTTPS.