How to modify 503 file in magento 2 cloud Enterprise edition?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
3
down vote

favorite












How to modify 503 file in magento 2 cloud Enterprise edition ?



  • When a 503 error occurs it returns maintenance page.

  • I want to add some extra code for 503 Error/Maintenance page in
    Magento 2 cloud Enterprise edition ?


But my cloud use do not have permission to write that file.




Note : Fastly Configuration section is not available on server.










share|improve this question























  • are you using Fastly for caching ?
    – Naveed Asim
    2 hours ago










  • No, Fastly is not available on server.
    – Aditya Shah
    2 hours ago










  • Well, Magento 2 Enterprise Cloud works with Fastly and it is available on their staging and production environment, without that configured magento will not let you go live. if your not working with fastly then which caching system is setup ?
    – Naveed Asim
    2 hours ago










  • Varnish and default on integration server.
    – Aditya Shah
    1 hour ago










  • @Aditiya Shah, since you are working with Magento 2 Enterprise Cloud then you have to use Fastly on staging and Production serves, and that is the only caching you will be using for your live site. i can guide you how to setup custom 503 for live site ( ultimately that will be the solution ) for integration it will not work.
    – Naveed Asim
    1 hour ago
















up vote
3
down vote

favorite












How to modify 503 file in magento 2 cloud Enterprise edition ?



  • When a 503 error occurs it returns maintenance page.

  • I want to add some extra code for 503 Error/Maintenance page in
    Magento 2 cloud Enterprise edition ?


But my cloud use do not have permission to write that file.




Note : Fastly Configuration section is not available on server.










share|improve this question























  • are you using Fastly for caching ?
    – Naveed Asim
    2 hours ago










  • No, Fastly is not available on server.
    – Aditya Shah
    2 hours ago










  • Well, Magento 2 Enterprise Cloud works with Fastly and it is available on their staging and production environment, without that configured magento will not let you go live. if your not working with fastly then which caching system is setup ?
    – Naveed Asim
    2 hours ago










  • Varnish and default on integration server.
    – Aditya Shah
    1 hour ago










  • @Aditiya Shah, since you are working with Magento 2 Enterprise Cloud then you have to use Fastly on staging and Production serves, and that is the only caching you will be using for your live site. i can guide you how to setup custom 503 for live site ( ultimately that will be the solution ) for integration it will not work.
    – Naveed Asim
    1 hour ago












up vote
3
down vote

favorite









up vote
3
down vote

favorite











How to modify 503 file in magento 2 cloud Enterprise edition ?



  • When a 503 error occurs it returns maintenance page.

  • I want to add some extra code for 503 Error/Maintenance page in
    Magento 2 cloud Enterprise edition ?


But my cloud use do not have permission to write that file.




Note : Fastly Configuration section is not available on server.










share|improve this question















How to modify 503 file in magento 2 cloud Enterprise edition ?



  • When a 503 error occurs it returns maintenance page.

  • I want to add some extra code for 503 Error/Maintenance page in
    Magento 2 cloud Enterprise edition ?


But my cloud use do not have permission to write that file.




Note : Fastly Configuration section is not available on server.







magento2 maintenance cloud magento2-cloud






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 hours ago

























asked 2 hours ago









Aditya Shah

1,531422




1,531422











  • are you using Fastly for caching ?
    – Naveed Asim
    2 hours ago










  • No, Fastly is not available on server.
    – Aditya Shah
    2 hours ago










  • Well, Magento 2 Enterprise Cloud works with Fastly and it is available on their staging and production environment, without that configured magento will not let you go live. if your not working with fastly then which caching system is setup ?
    – Naveed Asim
    2 hours ago










  • Varnish and default on integration server.
    – Aditya Shah
    1 hour ago










  • @Aditiya Shah, since you are working with Magento 2 Enterprise Cloud then you have to use Fastly on staging and Production serves, and that is the only caching you will be using for your live site. i can guide you how to setup custom 503 for live site ( ultimately that will be the solution ) for integration it will not work.
    – Naveed Asim
    1 hour ago
















  • are you using Fastly for caching ?
    – Naveed Asim
    2 hours ago










  • No, Fastly is not available on server.
    – Aditya Shah
    2 hours ago










  • Well, Magento 2 Enterprise Cloud works with Fastly and it is available on their staging and production environment, without that configured magento will not let you go live. if your not working with fastly then which caching system is setup ?
    – Naveed Asim
    2 hours ago










  • Varnish and default on integration server.
    – Aditya Shah
    1 hour ago










  • @Aditiya Shah, since you are working with Magento 2 Enterprise Cloud then you have to use Fastly on staging and Production serves, and that is the only caching you will be using for your live site. i can guide you how to setup custom 503 for live site ( ultimately that will be the solution ) for integration it will not work.
    – Naveed Asim
    1 hour ago















are you using Fastly for caching ?
– Naveed Asim
2 hours ago




are you using Fastly for caching ?
– Naveed Asim
2 hours ago












No, Fastly is not available on server.
– Aditya Shah
2 hours ago




No, Fastly is not available on server.
– Aditya Shah
2 hours ago












Well, Magento 2 Enterprise Cloud works with Fastly and it is available on their staging and production environment, without that configured magento will not let you go live. if your not working with fastly then which caching system is setup ?
– Naveed Asim
2 hours ago




Well, Magento 2 Enterprise Cloud works with Fastly and it is available on their staging and production environment, without that configured magento will not let you go live. if your not working with fastly then which caching system is setup ?
– Naveed Asim
2 hours ago












Varnish and default on integration server.
– Aditya Shah
1 hour ago




Varnish and default on integration server.
– Aditya Shah
1 hour ago












@Aditiya Shah, since you are working with Magento 2 Enterprise Cloud then you have to use Fastly on staging and Production serves, and that is the only caching you will be using for your live site. i can guide you how to setup custom 503 for live site ( ultimately that will be the solution ) for integration it will not work.
– Naveed Asim
1 hour ago




@Aditiya Shah, since you are working with Magento 2 Enterprise Cloud then you have to use Fastly on staging and Production serves, and that is the only caching you will be using for your live site. i can guide you how to setup custom 503 for live site ( ultimately that will be the solution ) for integration it will not work.
– Naveed Asim
1 hour ago










1 Answer
1






active

oldest

votes

















up vote
3
down vote



accepted










Magento 2 Enterprise Cloud comes with 3 envoirnments setup by detault Integration , Staging and Production.



In integration environment you only have 2 caching option available Bulit-in and Varnish, however in staging and production you have one more caching option Fastly CDN available. So for staging and production ( live ) you will only be using Fastly CDN ( not Built-in or Varnish ) without it Magento won't allow you to go live.



so here are the steps to setup 503 custom error page for staging and production ( customizing 503 error page for integration will not worth it as ultimately you have to switch to fastly ).



Login to admin panel and go to :




Stores > Configurations -> Advanced -> System - > Full Page Cache




Select Fastly CDN ( and configure it by provided api service id and token by magento )



click on save changes and Click on Button "Upload VCL to Fastly"



Then click on Fastly Configurations tab and Click on "Custom Synthetic Pages" and click on "Set Html" button like screen shot below :



503 Error page



After making changes click on save configurations and then on same page click "Upload VCL to Fastly"



This is how you have to setup 503 page for your live and staging site.



IMPORTANT:
Always save changes first before click to Upload VCL to Fastly button. otherwise it will not work.






share|improve this answer




















  • Thanks a lot for the answer !! let me try it on server.
    – Aditya Shah
    1 hour ago










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f243172%2fhow-to-modify-503-file-in-magento-2-cloud-enterprise-edition%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
3
down vote



accepted










Magento 2 Enterprise Cloud comes with 3 envoirnments setup by detault Integration , Staging and Production.



In integration environment you only have 2 caching option available Bulit-in and Varnish, however in staging and production you have one more caching option Fastly CDN available. So for staging and production ( live ) you will only be using Fastly CDN ( not Built-in or Varnish ) without it Magento won't allow you to go live.



so here are the steps to setup 503 custom error page for staging and production ( customizing 503 error page for integration will not worth it as ultimately you have to switch to fastly ).



Login to admin panel and go to :




Stores > Configurations -> Advanced -> System - > Full Page Cache




Select Fastly CDN ( and configure it by provided api service id and token by magento )



click on save changes and Click on Button "Upload VCL to Fastly"



Then click on Fastly Configurations tab and Click on "Custom Synthetic Pages" and click on "Set Html" button like screen shot below :



503 Error page



After making changes click on save configurations and then on same page click "Upload VCL to Fastly"



This is how you have to setup 503 page for your live and staging site.



IMPORTANT:
Always save changes first before click to Upload VCL to Fastly button. otherwise it will not work.






share|improve this answer




















  • Thanks a lot for the answer !! let me try it on server.
    – Aditya Shah
    1 hour ago














up vote
3
down vote



accepted










Magento 2 Enterprise Cloud comes with 3 envoirnments setup by detault Integration , Staging and Production.



In integration environment you only have 2 caching option available Bulit-in and Varnish, however in staging and production you have one more caching option Fastly CDN available. So for staging and production ( live ) you will only be using Fastly CDN ( not Built-in or Varnish ) without it Magento won't allow you to go live.



so here are the steps to setup 503 custom error page for staging and production ( customizing 503 error page for integration will not worth it as ultimately you have to switch to fastly ).



Login to admin panel and go to :




Stores > Configurations -> Advanced -> System - > Full Page Cache




Select Fastly CDN ( and configure it by provided api service id and token by magento )



click on save changes and Click on Button "Upload VCL to Fastly"



Then click on Fastly Configurations tab and Click on "Custom Synthetic Pages" and click on "Set Html" button like screen shot below :



503 Error page



After making changes click on save configurations and then on same page click "Upload VCL to Fastly"



This is how you have to setup 503 page for your live and staging site.



IMPORTANT:
Always save changes first before click to Upload VCL to Fastly button. otherwise it will not work.






share|improve this answer




















  • Thanks a lot for the answer !! let me try it on server.
    – Aditya Shah
    1 hour ago












up vote
3
down vote



accepted







up vote
3
down vote



accepted






Magento 2 Enterprise Cloud comes with 3 envoirnments setup by detault Integration , Staging and Production.



In integration environment you only have 2 caching option available Bulit-in and Varnish, however in staging and production you have one more caching option Fastly CDN available. So for staging and production ( live ) you will only be using Fastly CDN ( not Built-in or Varnish ) without it Magento won't allow you to go live.



so here are the steps to setup 503 custom error page for staging and production ( customizing 503 error page for integration will not worth it as ultimately you have to switch to fastly ).



Login to admin panel and go to :




Stores > Configurations -> Advanced -> System - > Full Page Cache




Select Fastly CDN ( and configure it by provided api service id and token by magento )



click on save changes and Click on Button "Upload VCL to Fastly"



Then click on Fastly Configurations tab and Click on "Custom Synthetic Pages" and click on "Set Html" button like screen shot below :



503 Error page



After making changes click on save configurations and then on same page click "Upload VCL to Fastly"



This is how you have to setup 503 page for your live and staging site.



IMPORTANT:
Always save changes first before click to Upload VCL to Fastly button. otherwise it will not work.






share|improve this answer












Magento 2 Enterprise Cloud comes with 3 envoirnments setup by detault Integration , Staging and Production.



In integration environment you only have 2 caching option available Bulit-in and Varnish, however in staging and production you have one more caching option Fastly CDN available. So for staging and production ( live ) you will only be using Fastly CDN ( not Built-in or Varnish ) without it Magento won't allow you to go live.



so here are the steps to setup 503 custom error page for staging and production ( customizing 503 error page for integration will not worth it as ultimately you have to switch to fastly ).



Login to admin panel and go to :




Stores > Configurations -> Advanced -> System - > Full Page Cache




Select Fastly CDN ( and configure it by provided api service id and token by magento )



click on save changes and Click on Button "Upload VCL to Fastly"



Then click on Fastly Configurations tab and Click on "Custom Synthetic Pages" and click on "Set Html" button like screen shot below :



503 Error page



After making changes click on save configurations and then on same page click "Upload VCL to Fastly"



This is how you have to setup 503 page for your live and staging site.



IMPORTANT:
Always save changes first before click to Upload VCL to Fastly button. otherwise it will not work.







share|improve this answer












share|improve this answer



share|improve this answer










answered 1 hour ago









Naveed Asim

1,8551213




1,8551213











  • Thanks a lot for the answer !! let me try it on server.
    – Aditya Shah
    1 hour ago
















  • Thanks a lot for the answer !! let me try it on server.
    – Aditya Shah
    1 hour ago















Thanks a lot for the answer !! let me try it on server.
– Aditya Shah
1 hour ago




Thanks a lot for the answer !! let me try it on server.
– Aditya Shah
1 hour ago

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f243172%2fhow-to-modify-503-file-in-magento-2-cloud-enterprise-edition%23new-answer', 'question_page');

);

Post as a guest













































































Comments

Popular posts from this blog

What does second last employer means? [closed]

List of Gilmore Girls characters

Confectionery