Create clone of CloudFront distribution using AWS CLI: Difference between revisions

no edit summary
(Created page with "Connect to ZEB LB (lb.zeb.apoyar) or any ZEB server where we have CLI access to AWS And below two commands one by one at /home/neal/ ---> aws cloudfront get-distribution-config --id E2KCQM43EXPGWB --output json > sourceCFconfig.json (In this, we have to edit the ID, from which we need to create clone) ---> cp sourceCFconfig.json newCFconfig.json Then we need to open & edit the newCFconfig.json file ---> vi newCFconfig.json edit out the first parent element (2nd...")
 
No edit summary
Line 1: Line 1:
Connect to ZEB LB (lb.zeb.apoyar) or any ZEB server where we have CLI access to AWS
Connect to ZEB LB (lb.zeb.apoyar) or any ZEB server where we have CLI access to AWS


And below two commands one by one at /home/neal/
And below two commands one by one at /home/neal/


---> aws cloudfront get-distribution-config --id E2KCQM43EXPGWB --output json > sourceCFconfig.json (In this, we have to edit the ID, from which we need to create clone)
---> aws cloudfront get-distribution-config --id E2KCQM43EXPGWB --output json > sourceCFconfig.json (In this, we have to edit the ID, from which we need to create clone)