How to modify 503 file in magento 2 cloud Enterprise edition?
Clash 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.
magento2 maintenance cloud magento2-cloud
 |Â
show 2 more comments
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.
magento2 maintenance cloud magento2-cloud
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
 |Â
show 2 more comments
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.
magento2 maintenance cloud magento2-cloud
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
magento2 maintenance cloud magento2-cloud
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
 |Â
show 2 more comments
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
 |Â
show 2 more comments
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 :
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.
Thanks a lot for the answer !! let me try it on server.
– Aditya Shah
1 hour ago
add a comment |Â
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 :
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.
Thanks a lot for the answer !! let me try it on server.
– Aditya Shah
1 hour ago
add a comment |Â
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 :
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.
Thanks a lot for the answer !! let me try it on server.
– Aditya Shah
1 hour ago
add a comment |Â
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 :
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.
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 :
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.
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
add a comment |Â
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
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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