0% found this document useful (0 votes)
2 views

lab_7_anish

The document outlines two lab tasks for an Internet of Things course, focusing on setting up an EC2 instance on AWS and connecting a device to AWS IoT. The first task involves creating an AWS account, launching an EC2 instance, and connecting to it, while the second task covers pinging the AWS IoT Cloud, registering a device, and verifying the connection. Detailed steps for each task are provided to guide the user through the process.

Uploaded by

jobsanish5
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

lab_7_anish

The document outlines two lab tasks for an Internet of Things course, focusing on setting up an EC2 instance on AWS and connecting a device to AWS IoT. The first task involves creating an AWS account, launching an EC2 instance, and connecting to it, while the second task covers pinging the AWS IoT Cloud, registering a device, and verifying the connection. Detailed steps for each task are provided to guide the user through the process.

Uploaded by

jobsanish5
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

ICS423 Internet of Things

Lab-7

Name: - ANISH HALDER


Roll No: -2021BCS0034

Task:-

Anish-EC2-Instance
Anish_Key
Anish_instance

Steps: -
1. Create an AWS Account → Sign up, select Free Tier, enter credit/debit card details (₹2
verification), verify phone, and log in.
2. Open EC2 Service → Click Launch Instance, name it YourName-EC2.
3. Select AMI & Instance Type → Choose Ubuntu 22.04 or Amazon Linux 2, and select
t2.micro (Free Tier eligible).
4. Create & Download Key Pair → Save the .pem file securely for future SSH access.
5. Launch Instance → Keep default network settings, then click Launch Instance.
6. Connect to EC2 → Go to Instances, select your instance, click Connect → EC2 Instance
Connect.
7. Shut Down Instance → In EC2 Dashboard, select instance, click Instance State → Stop
Instance (do not terminate).

Task 2:-

Anish-laptop-IOT
anish_latop

Steps:
1. Ping AWS IoT Cloud → Open Command Prompt, run ping your-aws-iot-
endpoint.amazonaws.com, and verify a response to confirm connectivity.
2. Register & Secure Device → In AWS IoT Core, create a Thing (e.g., IoTFrontierLaptop), skip
optional attributes, and proceed.
3. Choose Platform & SDK → Select Windows as the platform, use Node.js (or Python/Java if
preferred), and proceed.
4. Download Connection Kit → Get the kit from AWS IoT, extract it using Windows Explorer
or command-line tools.
5. Run Connection Kit → Open PowerShell as Administrator, navigate to the kit folder, and
set execution policy using Set-ExecutionPolicy.
6. Start IoT Connection → Run the provided PowerShell start script, which downloads the
AWS root CA certificate and installs the AWS SDK.
7. Verify Connection & View Data → AWS IoT will send 10 messages in sequence, visible in
the MQTT Test Client;
8. check device details under Manage → Things.

You might also like