Importing pre-built content into the site There are frequent installs of Drupal 7 that I do. All of them are almost the same, except, some need to have additional content types and modules on top of the default setup.
I'd like to ask if there is a way to modularize the deployment to save time on manually creating content types and installing modules.

Example:


(Required) I download and install Drupal 7 (possibly Drupal 8 in the future) with minimal profile
(Optional) I import a "magic package" (prebuilt) that would import all the custom content types I made, menu items, views and extra modules into the site created in step 1.
(Optional) I import a second "magic package" (also prebuilt) that would give site more capabilities with additional modules, menu items, views and content types.


some of the imported stuff is linked to Drupal users via Entity Reference fields.

What is the best way to accomplish something like this?
Is there a module that can help me build these "Magic Packages"?

Thank you.
Creating a feature could be what you need. Have a look at its project page. https://www.drupal.org/project/features