Bacancy Technology
Bacancy Technology represents the connected world, offering innovative and customer-centric information technology experiences, enabling Enterprises, Associates and the Society to Rise™.
12+
Countries where we have happy customers
1050+
Agile enabled employees
06
World wide offices
12+
Years of Experience
05
Agile Coaches
14
Certified Scrum Masters
1000+
Clients projects
1458
Happy customers
Artificial Intelligence
Machine Learning
Salesforce
Microsoft
SAP
October 21, 2024
Step-by-Step:
Go to the AWS CloudFront console.
In the CloudFront dashboard, find the distribution you want to invalidate and click on its ID to open the distribution details.
In the distribution details page, click on the “Invalidations” tab.
Click on “Create Invalidation”.
In the dialog that appears, specify the paths you want to invalidate. For example:
Click “Invalidate” to submit the request. The invalidation will be processed and should take a few minutes to propagate across the edge locations.
You can check the status of the invalidation in the Invalidations tab.
Prerequisites:
You need to have the AWS CLI installed and configured on your machine. If you haven’t set it up, you can follow the AWS CLI installation guide.
CLI Command Example:
To create an invalidation using the AWS CLI, follow these steps:
aws cloudfront create-invalidation --distribution-id
Replace
Replace “/*” with the path you want to invalidate. For example, you can invalidate just one file like /index.html or all files with /*.
Example Command:
aws cloudfront create-invalidation --distribution-id E1A2BC3DEF456 --paths "/index.html" "/images/*"
This command will invalidate /index.html and all files under the /images/ directory.
You can list invalidations for a specific distribution using this command:
aws cloudfront list-invalidations --distribution-id