score:5

Accepted answer

i was able to use this so post to accomplish what i needed to do. we already were using a cloudfront distribution for our other environments and this was very easy to set up.

here's a summary of what we learned here:

  1. it is definitely possible to host multiple react apps in the same bucket
  2. you can put each app into a directory/prefix of your choosing
  3. create a cloudfront distribution for each app pointing to your bucket with settings like the following

    a. put feature1 in bucket directory/prefix feature1/

    b. create a distribution with origin path /feature1 and default root object index.html

    c. ride away clean


Related Query

More Query from same tag