Skip to main content
Solved

How to manage environments

  • October 5, 2022
  • 3 replies
  • 1525 views

Forum|alt.badge.img

I have read various articles and posts here but have not yet found an answer/concrete example of a full workflow using environments, and I also have many additional questions regarding best practices.

 

Say I want to have two environments, development and production. I can assign a project to each of these. How to I promote event definitions from the development project to the production project? do I have to manually recreate all changes?

 

Can I have 3 environments?

 

Can I move event and property definitions between organisations?

Best answer by Denis Holmes

Hi @KatSharp ,

 

Thanks for writing into the Community! For best practices, I would recommend a read through our Data Taxonomy Playbook here. You would have to manually create the events in the new project, send in events with the same name or you could bulk edit your schema with the CSV but this does require an add-on. If you want to have the exact same events and data (that is already ingested in one project) into different projects, you could use the Export API to export all data and events from one project and inject them into another. This would be injecting the exact same data, events and payloads though.

 

You can have as many project as you, one for each environment, as long as you do not go over your monthly event limit. For different organizations, you would need to manually create the names and events and properties again. Unless you wanted to import all the same data, including users data and event data, then you could do as above.

 

Kind Regards,
Denis

View original
Did this topic help you find an answer to your question?

3 replies

Denis Holmes
Team Member
Forum|alt.badge.img+8
  • Team Member
  • 448 replies
  • Answer
  • October 6, 2022

Hi @KatSharp ,

 

Thanks for writing into the Community! For best practices, I would recommend a read through our Data Taxonomy Playbook here. You would have to manually create the events in the new project, send in events with the same name or you could bulk edit your schema with the CSV but this does require an add-on. If you want to have the exact same events and data (that is already ingested in one project) into different projects, you could use the Export API to export all data and events from one project and inject them into another. This would be injecting the exact same data, events and payloads though.

 

You can have as many project as you, one for each environment, as long as you do not go over your monthly event limit. For different organizations, you would need to manually create the names and events and properties again. Unless you wanted to import all the same data, including users data and event data, then you could do as above.

 

Kind Regards,
Denis


Forum|alt.badge.img
  • Author
  • Helpful Hero
  • 7 replies
  • October 6, 2022

thanks, I finally realise after playing around that if you use the amplitude production/development feature then the two projects are always in sync. It isn’t that obvious from the documentation. This actually doesn’t seem that great as it means in order to test events you always have your changes applied to production events (or am I missing something?)

 

I have opted to go one project for each env, as we have 3 envs, and unfortunately that means some manual download/uplaod.

 

I think amplitude could improve its documentation and features here


  • New Member
  • 1 reply
  • February 7, 2023

@KatSharp How do you find the amplitude production/development feature? I am struggling with the same issue that the production & development are out of sync


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings