Adding new S3 bucket to existing distribution

0

Hi, first post here so please excuse my lack of knowledge of AWS.

I have just taken over support & development of a site that is hosted in AWS. It has been stripped out of a larger group of sites and resources that were acquired in a recent company takeover and is mostly working okay. I have scant documentation on the AWS setup and to me it seems to be overly complicated. For background I am much more of a developer than a sysadmin or architect and I only have experience of Azure previously but anyway, onto my issue...

So there is an S3 bucket that is currently being served through a CloudFront distribution for CDN type purposes and this works fine. For reasons I will leave out (but it's a must) I need to "rename" the bucket, but I believe to do this I must create a new bucket and sync the content over. I have done this so currently have 2 buckets with the same content and exact same permissions etc.

Links direct to the new S3 bucket work fine but links through the CloudFront cdn are broken. e.g.:

So I'm guessing that somewhere there is a link to the existing S3 bucket and I need to configure the new bucket too, but I'm really struggling to find out where. The CloudFront distribution https://dmffixln4zsgf.cloudfront.net has just one Origin configured which has the domain cloud-front-web-proxy-1738297328.eu-west-1.elb.amazonaws.com. So this must be an "Elastic Load Balancer"? I've had a look at this in the EC2 -> Load Balancers page and cannot see any linking to the original S3 bucket.

Could anyone suggest any further places to look please?

gefragt vor 3 Jahren235 Aufrufe
1 Antwort
0

Have figured it out (and nobody here would have got it).

There was a virtual server running some sort of home grown content proxy service that uses a SQLite database with a single table it it. The existing bucket name was featured in one of the rows so I added another row with my new bucket name in, restarted the service and voila!

beantwortet vor 3 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen