Hubs-Foundation / hubs-ops

Ops for Hubs
Mozilla Public License 2.0
112 stars 59 forks source link

Cloud Formation EC2 not created AWS Cloud Personal #98

Open keserwan opened 3 years ago

keserwan commented 3 years ago

Dears,

I created Hubs Cloud Personal from AWS Marketplace using Cloud Formation. It worked perfectly on my first AWS account, then I wanted to transfer the domain to another account, after that step I deleted the stack from the old AWS account and migrated the domain to the new hosted zones in the new AWS account.

Once all was ready, I re-did all the setup through Cloud Formation on the new AWS Account. After the setup had complete (successfully), I didn't see any EC2 instance(s) created.

Any suggestions?

Please advise if I am missing anything.

keserwan commented 3 years ago

I am getting the following error when I visit the main URL:

<Error>
<Code>NoSuchKey</Code>
<Message>The specified key does not exist.</Message>
<Key>assets/pages/unavailable.html</Key>
<RequestId>9***************3D</RequestId>
<HostId>
7******2F**************
</HostId>
</Error>
neonascent commented 2 years ago

@keserwan I am having the same issue under the same circumstances (deploying, then deleting, then creating another stack pointing at old domain names) - where you able to resolve this?

yondr-agency-15 commented 2 years ago

I've noticed this issue after pushing a new client to AWS. On AWS I checked my S3 services and noticed a different folder structure. Which cause the files to not be found.

My Fix: https://s3.console.aws.amazon.com/s3/buckets/ In my cases I moved all assets from hubs/assets to hubs/src/assets

PS: (moving ALL assets did break my homepage styling. So I recommend to leave the stylesheets folder or just copy all files instead of moving)

neonascent commented 2 years ago

@yondr-luka

Thankyou for the fix