I need to have 2 modifications made to an Amazon EC2 Cloud Formation template.
1: Modification to Enable CORS
2: Modification to allow backups
I had an Amazon Expert make a Cloud Formation Infrastructure and then CF Stack so that I can install my web form app script. Each time I have a new client that purchases my web form script, I install a new CF stack and host them on my Amazon EC2. All data has to remain very secure for the medical industry standards (HIPAA Compliant).
My CF stack basically works great on AWS, EXCEPT my nice fonts on the user form side (called “Font Awesome”) are not displaying correctly. In doing some research, it seems like this is because I am running the script on a subdomain and the end-user form is located on a different domain. I need to keep this setup for security reasons but I need to have my fonts displayed of course! It also seems the problem is that web browsers are ignoring the fonts because the AWS server is not sending the following header: Access-Control-Allow-Origin. I’m not very technical but this has something to do with AWS Cross Origin Resource Sharing (CORS). On my VPS server with Bluehost, this was apparently enabled by default because the fonts worked with the same setup. I need it to work on AWS EC2. Do you think if you modify my Cloud Formation Stack \ this will fix the issue? I also need some other modifications/verifications (like to be sure backups work) but wanted to start by giving you the details on this one.
I am attaching the AWS infrastructure and stack templates. Template #2 is the latest version but backups are definitely not working on it. Backups might be working on Template #1
[login to view URL]