I want to make my website more secure. So i was thinking of deploying front end(using angular js) on s3 with aws cloudfront and all my api's(using dropwizard) in API gateway.
i have researched on this but i get only for angular app and not the other part(calling api's from the s3 bucket).
THis should work without a problem. I have angular apps that are hosted as static s3 websites, calling back-end api's (both thru amazon api and other custom api endpoints running on ec2 instances).
SO yes, in a general sense this will work - if its not working for you, you could give us specifics about what you are trying to do, and what error messages you are getting.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.