Snipe-IT IT Asset Inventory Management on Azure/AWS/GCP

IT Asset Inventory Management by Snipe-IT.  Snipe-IT was made for IT asset management, to enable IT departments to track who has which laptop, when it was purchased, which software licenses and accessories are available, and so on.  Deploy to the cloud on Azure, AWS or GCP running on Ubuntu 22.04.  Self hosted IT asset management solution (ITAM).

IT Asset Inventory Management System

Setup Snipe-IT on Azure

Snipe-IT AWS

Deploy Snipe-IT on Ubuntu 22.04 on AWS

Setup Snipe-IT on AWS

Snipe-IT Azure

Deploy Snipe-IT on Ubuntu 22.04 in Azure

Setup Snipe-IT on GCP

SnipeIT GCP

Deploy Snipe-IT on Ubuntu 22.04 on GCP

Snipe-IT Asset Management Features

Admin Dashboard – Dashboard view recent activity and an overall view of what assets, accessories, consumables, and components you have.

 

Asset Management.- View which assets are assigned, to whom, and their physical location. Check them back into inventory with one click, or click through to see the assets complete history. Seeing what assets are currently deployed, pending (brand new awaiting software installs, out for repair), ready to deploy, or archived (lost/stolen, or broken) is quick and easy.

 

  • Easily see which assets are assigned, to whom, and their physical location
  • One-click checkin
  • Asset Models let you group common features
  • Require User Acceptance (End-User EULAs/Terms of Service) on Checkout
  • Email alerts for expiring warrantees and licenses
  • Integrates with most handheld barcode scanners and QR code reader apps
  • Quick and easy asset auditing
  • Add your own custom fields for additional asset attributes
  • Easily import and export assets
  • Generate QR code labels for easy mobile access and labels
  • Assets marked as requestable can be requested by a user
  • Assets retain full history including checkouts, checkins and maintenance
  • Optional digital signatures on asset acceptance


License Management – Same quick access with licenses, by letting you smartly handle multi-pack licenses with ease. Enable email alerts to get an email when your licenses are expiring.


Email Notifications – Built-in email notifications for users and administrators.


Integrations & Robust JSON REST API – Integrate your own proprietary systems and workflows with a powerful REST API.

Getting Started with Cloud Snipe-IT Asset Management Software

Once your Snipe-IT server has been deployed, the following links explain how to connect to a Linux VM:

 

 

Once connected and logged in, the following section explains how to start using Snipe-IT.

Setup MySQL Server Security

First step is to secure the MySQL installation by running the following command>

				
					sudo mysql_secure_installation
				
			

Create Database for Snipe-IT IT Asset Inventory Management

Next, we need to setup a database and user to run Snipe-IT. Run the following commands:

				
					sudo mysql -u root -p
				
			
				
					CREATE DATABASE snipeit_db;
				
			
				
					CREATE USER 'snipeituser'@'localhost' IDENTIFIED WITH mysql_native_password BY 'snipe1234';
				
			
				
					GRANT ALL PRIVILEGES ON snipeit_db.* TO 'snipeituser'@'localhost';
				
			
				
					FLUSH PRIVILEGES;
				
			
				
					quit
				
			

Edit Snipe-IT Config File

Next, we need to edit the Snipe-IT config file. Run the following commands to open the file:

				
					cd /var/www/html/snipe-it
				
			
				
					sudo nano .env
				
			

Edit the following lines with your URL and database settings. Remember to add http:// for the App_URL. Remember to update this to https if you create an SSL certificate later on.

				
					APP_URL=http://snipeit-portal.com
APP_TIMEZONE='UTC'
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_DATABASE=snipeit_db
DB_USERNAME=snipeituser
DB_PASSWORD=snipe1234
DB_PREFIX=null
DB_DUMP_PATH='/usr/bin'
DB_CHARSET=utf8mb4
DB_COLLATION=utf8mb4_unicode_ci
				
			

Save and exit nano editor.

Install Snipe-IT PHP Dependencies

Now we need to install PHP dependencies for Snipe-IT.  First make sure you’re in the snipe-it directory and run the following composer commands:

				
					cd /var/www/html/snipe-it/
				
			
				
					sudo composer update --no-plugins --no-scripts
				
			

Select Y

				
					sudo composer install --no-dev --prefer-source --no-plugins --no-scripts
				
			

Select Y

				
					sudo php artisan key:generate
				
			

Type yes when asked.

Setup Apache for Snipe-IT Asset Inventory Management

Snipe-IT runs on an Apache server so we need to setup your Apache config by running the following command:

				
					sudo nano /etc/apache2/sites-available/snipeit.conf
				
			

Copy and paste the following content, updating the ServerName with your URL:

				
					<VirtualHost *:80>
  ServerName snipeit-portal.com
  DocumentRoot /var/www/html/snipe-it/public
  <Directory /var/www/html/snipe-it/public>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all
  </Directory>
</VirtualHost>
				
			

Save and exit nano editor.  Then run the following commands to enable the Apache config and restart Apache server.

				
					sudo a2ensite snipeit.conf
sudo systemctl restart apache2
				
			

Launch Snipe-IT Asset Dashboard

Now open your web browser and go to the web address or ip address you’ve added above in your config files.

Snipe-it Preflight setup

Click Next: Create Database Tables

(Note: when you press Create Database Tables button it will take 30secs to update, try not to refresh the browser)

Snipe-IT Create database-tables

Click Next: Create User and fill out the create user form.

Create user for asset inventory management

Click Next: Save User and you will be redirected to the Snipe-IT IT Asset Inventory Management Dashboard.

That’s it.  Now refer to the documentation below to learn how to configure the rest of the portal.

Support / Documentation

Refer to the documentation on setting up Snipe-IT dashboard, adding users, adding assets, LDAP configuration, Email integration and more:

 

https://snipe-it.readme.io/docs/getting-started

Snipe-IT Firewall Ports

The following ports are used by Snipe-IT:

 

  • TCP 80 (Web)
  • TCP 443 (Https)
  • TCP 587 (Email Alerts)

 

Remember to open any ports if you are using any firewalls or cloud security groups.

 

If you are using any of the cloud security groups and need to change / add ports refer to the following guides:

 

To setup AWS firewall rules refer to – AWS Security Groups

To setup Azure firewall rules refer to – Azure Network Security Groups

To setup Google GCP firewall rules refer to – Creating GCP Firewalls

Disclaimer: Snipe-IT is made available under an GNU Affero General Public License v3.0 license. No warrantee of any kind, express or implied, is included with this software. Use at your risk, responsibility for damages (if any) to anyone resulting from the use of this software rest entirely with the user. The author is not responsible for any damage that its use could cause.

Avatar for Andrew Fitzgerald
Andrew Fitzgerald

Cloud Solution Architect. Helping customers transform their business to the cloud. 20 years experience working in complex infrastructure environments and a Microsoft Certified Solutions Expert on everything Cloud.

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x