lab_7_anish
lab_7_anish
Lab-7
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.