Тёмный

Development vs production environments | Platform.sh demo 

Platform.sh
Подписаться 1,5 тыс.
Просмотров 12 тыс.
50% 1

Development environments work the way they should on Platform.sh: identical to production where it matters. Testing and Staging environments reflect new features, but also match production so you know there won't be any unexpected changes post-merge.
All of your development environments should match Production as closely as possible.
While maintaining unique settings, copies of services and data that don't affect production, and domains for showcasing new features to clients.
These development environments can do so all while being built on small containers that reflect their small resource demand.
Their code should be the same as production.
Their services should also be identical.
And data should always reflect up-to-date production data.
But payment gateways, email, and environment URLs should remain unique for every environment you're working on.
You can set environment variables, such as API keys, that differ between Production and non-Production environments.
So that each new development environment inherits a Sandbox variable, and never has access to a Production variable. In the demo shown here, we set a variable called Payment-API for the master environment with a value of my-secret-key. The variable will initially be inherited by all of its child branches. Once we add the variable, we can see that it was indeed inherited by the staging environment. We don't want development environments to use the production API key, so we'll update the variable's value for all non-production branches to instead be my-development-key. This new value is then inherited, as can be seen here on the feature-1 branch.
As a result, developers don't need to worry about using the correct settings, as they inherit all of the non-Production variables they need as soon as those environments are created.
If your application requires Production-level resources in development, you can easily upsize those environment's resources to match.
____
Learn mor: platform.sh/bl...
Get started with a free trial: auth.api.platf...
Have a question? Contact us: platform.sh/co...
Follow us on social media:
Twitter: / platformsh
Twitter (France): / platformsh_fr
LinkedIn: / platformsh
LinkedIn (France): / platform-sh-france
Facebook: / platform.sh
About Platform.sh
Platform.sh combines a robust, highly reliable hosting platform and modern tools that enable development teams to build, evolve, and scale applications faster and more efficiently-contributing to achieving departmental and organizational goals.
Whether your organization has one website or 1,000, Platform.sh lets your dev team focus on creating innovative, sticky features and apps with their favorite tools, languages, and frameworks-instead of managing infrastructure and process.

Опубликовано:

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 6   
@azeeminator
@azeeminator 3 года назад
What if I only want instances like SEO keywords, titles and descriptions and Google Analytics on the live site only and not on the prods and dev environments? So that the end user does not mistakenly stumble upon the test sites or Google confuses with each other in search?
@Platformsh
@Platformsh 3 года назад
That's what environmental variables are for, and you can make them conditional on the the current environment: docs.platform.sh/bestpractices/environment-build.html#devprod-environment-variables
@HaNguyen-tg5re
@HaNguyen-tg5re 2 года назад
how did you do it can you share with me , thank you
@myasehrtsmyasehrts7679
@myasehrtsmyasehrts7679 2 года назад
Your content is so touching
@user-xu5hv4ru4i
@user-xu5hv4ru4i 2 года назад
くさんありますありがとうございます」、
@georgiarich5264
@georgiarich5264 2 года назад
how did you do it can you share with me , thank you
Далее
Scaling on demand | Platform.sh demo
1:31
Просмотров 294
Это было очень близко...
00:10
Просмотров 919 тыс.
Which part do you like?😂😂😂New Meme Remix
00:28
Environments on Vercel
11:34
Просмотров 12 тыс.
What does larger scale software development look like?
24:15
API vs. SDK: What's the difference?
9:21
Просмотров 1,4 млн
What is a Server? (Deepdive)
17:51
Просмотров 182 тыс.
Mastering Chaos - A Netflix Guide to Microservices
53:14
Development Environments and Why You Need One
22:12
Просмотров 30 тыс.
What is a Server?  Servers vs Desktops Explained
7:14
What is an API Gateway?
10:19
Просмотров 316 тыс.