What is Environment, Sandbox, Types Of Sandbox And How To Create Sandbox From Production

Salesforce is known as the world’s number one CRM and has been recognized by global leaders all over the world. Salesforce as a platform provides main support for SAAS and PAAS services. SAAS means software as a service and it provides salesforce services on rent based on per user/licence edition you purchase. PAAS means platform as a service and you take Force.com/Heroku as platform to customize your application but both these services needs salesforce environments so that developers can perform there metadata changes and write code with respect to there business requirement. Thus, In this article we will in discuss about Salesforce Environments.

 

Environment In Salesforce:

Environments in salesforce is an instance of the force.com salesforce platform.It is also known as orgs or organization in salesforce. If someone is talking about orgs it means that he is talking about Environments in salesforce.

There are many functionalities as well as features of salesforce environments which are mentioned below;

1. Salesforce Environments can be utilized for developing code, testing the functionality of the code, training users and used as a production environment for end users.

2. Every salesforce environment has its own data storage and you can perform configuration, integration as well as customization based on the features that you want to develop for your client.

3. The functionality that I have discussed so far in points 1, 2 is based on the salesforce editions that you purchase, if you would like to purchase any salesforce edition you can look into there website mentioned here “https://www.salesforce.com/editions-pricing/sales-cloud/“.

4. As we all know salesforce is on cloud hence, the way you login to your system is via an internet service provider like Google, Mozilla Firefox, Internet Explorer etc. The other ways to logging is via SOAP API or Metadata API.

5. Salesforce environments is used to extend/enhance the application based on business needs of your organization without effecting the production environment.

Hence, to summarize salesforce environment let’s you to develop your application and deploy those applications to production environments.

Also Read : A Guide To Salesforce Feature And Parallel Branching Strategy For Enterprise Customers

Introduction To Sandbox

Sandbox is a copy of production organisation or a copy of any other salesforce environment that you are presently using that can be used to perform tasks like configuration, customization and development of lightning components.These sandboxes can used by developers to develop there code / feature. If you want to do a test for these features you can create a new testing sandbox also known as quality assurance sandbox. If you want to give Training to an individual you can also create a sandbox from production/other sandboxes.

What is Refresh Of Sandbox?

Refresh of sandbox: It is a term which is also used to create a sandbox from production/clone a sandbox from another sandbox. When I say “refresh a sandbox named as “DevSFDC247” it means to create a sandbox name it as DevSFDC247 from production/clone it from another sandbox. Give this sandbox a description to define the purpose of the sandbox that you are creating.

What is Refresh Interval In Sandbox?

The refresh interval is the number of days at which the salesforce server will be available to synchronize its records with the production environment of salesforce. There are different refresh intervals for different different sandboxes, which I will discuss in the Types of sandbox section.

What is Production?

Production is an instance of force.com where the data needed to run the business logic is stored. It is basically meant for business end users and where go Live users work together in a platform.

How to login to production Salesforce?

You can login into Production salesforce using the url https://www.login.salesforce.com

Types Of Sandboxes in Salesforce

Environments in salesforce, Types of sandboxes In Salesforce, how to check sandbox type in salesforce, all about sandbox in salesforce, how to create sandbox in salesforce developer edition, salesforce sandbox refresh, salesforce sandbox refresh best practices
Types of sandboxes In Salesforce
The sandboxes are classified into four types which are mentioned below and also we will look at the features that these sandboxes support.

Developer Sandbox:

  1. It is an instance of force.com.
  2. It is basically designed for development activities by individual developers.
  3. It is a Independent copy of production’s metadata.
  4. Data size: It supports only 200 MB
  5. File Size: It supports only 200 MB
  6. Refresh Rate: 1 time in a day.
  7. Actions: It is used for Development and Unit Testing (Test classes for salesforce) by individual developer.
  8. It includes Configuration, All Metadata components and all users.

Developer Pro :

  1. It is an instance of force.com
  2. It is basically designed for Development and Testing by individual developers.
  3. It is a independent copy of production metadata.
  4. It is also called as Quality Assurance environment / Sandbox.
  5. Data size: It supports 1 GB
  6. File Size: It supports 1 GB
  7. Refresh Interval: One(1) time in a day.
  8. Actions: It is used for Development, Testing and Quality Assurance testing by multiple      developers.
  9. It includes Configuration, All Metadata components and all users.

Partial Copy  Sandbox :

  1. It is a instance of force.com
  2. It is a independent copy of Production metadata with sample data
  3. It supports Maximum of 10,000 records per object, can be increased later.
  4. It is generally called UAT environment
  5. Data size: It supports 5 GB
  6. File Size: It supports 5 GB
  7. Refresh Rate: One(1) time in every five days.
  8. Actions: It is used for Development and Testing.
  9. It is generally used for testing activities.
  10. It includes Configuration, All Metadata components, all users, Records (with sample of selected objects) and Sandbox Template Support.

Full Sandbox :

  1.  It is a instance of Force.com
  2. It is exact copy of production’s metadata and data
  3. It is designed for testing activities .
  4. Data size: Same size as production
  5. File Size: Same size of production
  6. Refresh Interval: 1 time in 29 days
  7. Actions: It supports all types of testing.
  8. It includes Configuration, All Metadata components, all users, Records (sample of selected objects),Sandbox Template Support, Records (all or selected objects), History & Chatter Data (is optional).

How you can Login to Sandbox Salesforce?

All the users can login into sandbox using url https://www.test.salesforce.com.

How to create sandbox in Salesforce?

In order to create a sandbox we have login into production using url https://www.login.salesforce.com by providing correct username and password. Once you have logged into your production, please follow the below steps.

STEP 1. In the home page click on setup.

STEP 2. Go to Quick Find search for Sandboxes.

sasalesforce sandbox refresh, salesforce sandbox refresh best practices
How to Refresh A Sandbox-sfdc247.com

STEP 3. Based on Available Sandbox ( Licenses Developer, Developer Pro, Partial Copy and full ) you will create your type of sandbox. For example let us say SFDC247 have 5 full sandboxes so, it can create 5 full sandboxes for SFDC247 Organization. Go inside Action tab of Available Sandbox Licenses and click on refresh.

STEP 4. You will be redirected to a new page known by Refresh Sandbox.

STEP 5. Under Sandbox Information give Name of sandbox, Description of sandbox, Create From (it will have two options one is production and other is the previous used sandboxes, you have the option to clone from other sandboxes mentioned on the list.)

STEP 6. Click on Next on the same page within Sandbox License Section.

STEP 7. Again you will be directed to another page “Refresh Sandbox” Under Sandbox Options click on Auto Activate (This option will activate your sandbox immediately and you will receive an email mentioning the sandbox is ready to use login by appending username of sandbox that you created).

STEP 8. Last step is to click on Create Button and it will create your sandbox.

STEP 9. In case you want to create manually, Navigate to Setup type in Quick find Sandboxes.
Click the “Activate” link next to the appropriate Sandbox, then on activate/OK button to confirm the activation of the Sandbox.

Complete Salesforce Trailhead Environment Course

If you would like to complete salesforce trailhead environment course you can follow the given module https://trailhead.salesforce.com/en/content/learn/modules/declarative-change-set-development/plan-for-changes-to-your-org. There are two questions related to this course.

Question 1. Why is it important to track changes made during development?
Answer: To identify what should go in a change set.
Question 2. What makes a developer sandbox a good choice for development over other types of sandboxes?Answer: It allows developers to keep release changes isolated.

Summary Of Salesforce Environments

Salesforce Environments are also known as organization or orgs. There are two types of Environments named as Production and Sandbox. Production is used by end users and sandbox is used for development as well as testing. You can create a sandbox from production but not from sandbox.

It is the most basic admin activity which we perform whenever there is a new requirement to create sandboxes. I have tried my best in explaining to you about sandbox and its types in Salesforce. If you have any doubts you can always comment and contact me in case you any questions regarding this post.

 #Note: Publishing this content anywhere without the consent of SFDC247 will result in a lawsuit against copyright infringement

 

SFDC247

Leave a Reply

Your email address will not be published. Required fields are marked *