This document provides an overview and tutorial on using CloudSim, an open-source simulation toolkit for modeling and simulation of cloud computing infrastructures and applications. It discusses CloudSim's features and architecture, prerequisites for using it, and how to set up the development environment in Eclipse. Sample code examples are presented to demonstrate running simulations of data centers with hosts and cloudlets using CloudSim.