Cloud Computing Final Lab File
Cloud Computing Final Lab File
Common Uses:
Network Topologies
Network topologies refer to the arrangement of various elements (links, nodes, etc.) in a
computer network. The topology determines the layout and the structure of the network and how
data flows between devices.
● Structure: All devices are connected to a single central cable, known as a bus.
● Advantages:
○ Simple to implement and requires less cable.
○ Easy to extend.
● Disadvantages:
○ Difficult to troubleshoot.
○ A single point of failure (the bus cable) can bring down the entire network.
○ Limited bandwidth.
b. Ring Topology:
● Structure: Devices are connected in a circular fashion, with each device having exactly
two neighbors.
● Advantages:
○ Data travels in one direction, reducing the chance of packet collisions.
○ Performs better than bus topology under heavy load.
● Disadvantages:
○ A break in the ring can disrupt the entire network.
○ Troubleshooting and network management can be challenging.
c. Star Topology:
d. Mesh Topology:
● Structure: Each device is connected to every other device in the network.
● Advantages:
○ Provides high redundancy and reliability.
○ Can handle high traffic since multiple devices can transmit data simultaneously.
● Disadvantages:
○ Expensive due to the large amount of cabling required.
○ Complex setup and maintenance.
e. Tree Topology:
● Structure: A hybrid topology that combines elements of star and bus topologies.
Devices are arranged in a hierarchical fashion.
● Advantages:
○ Scalable and easy to extend.
○ Centralized management.
● Disadvantages:
○ If the backbone (main cable) fails, it can affect the entire network.
○ Difficult to configure and maintain.
f. Hybrid Topology:
2:- Connecting 3 networks using routers. Also, configure DHCP and DNS
server.
RIP (Routing Information Protocol) is a distance-vector routing protocol used to determine the
best path to a destination network by using hop count as the metric. RIP is relatively simple and
is suitable for small to medium-sized networks.
Scenario
Let's assume the following three networks are connected using three routers, and you want to
use RIP to enable IP routing between them.
If you're integrating email services into web applications (e.g., PHP, Python, or Node.js), you'll
typically need to configure SMTP details in the app’s environment or configuration file.
Common SMTP Parameters:
● SMTP Host: The server address of the email provider (e.g., smtp.gmail.com for Gmail).
● SMTP Port: The communication port (e.g., 587 for TLS, 465 for SSL, 25 for non-secure).
● SMTP Authentication: Username and password for authenticating the email service.
● Encryption Type: TLS (Transport Layer Security) or SSL (Secure Sockets Layer).
Switch-
A network switch is a hardware device that connects multiple
devices within a local area network (LAN), enabling efficient data
communication among them. Operating primarily at the data link
layer (Layer 2) of the OSI model, switches manage the flow of data
by forwarding packets to their intended destinations based on Media
Access Control (MAC) addresses.
#Diagram of HUB.
#Diagram of SWITCH.
5. Study on VMware
Here’s a study guide for working with VMware,
covering each of these aspects. I'll provide high-level
steps for each, assuming you're using VMware
Workstation or VMware vSphere.
a. **Creating a VM (Ubuntu)**
b. **Networking on VM (Ubuntu)**
1. **Network Type**:
- **Bridged**: VM uses the host network adapter
and gets an IP from the network.
- **NAT (Network Address Translation)**: VM
accesses the internet via the host's IP.
- **Host-only**: VM can only communicate with the
host and other VMs on the host-only network.
2. **Configure in VMware**:
- Right-click on the VM and select **Settings >
Network Adapter**.
- Choose the network type (Bridged, NAT, or
Host-only).
3. **Inside Ubuntu VM**:
- Check network settings with `ifconfig` or `ip a`.
- Configure network settings in `/etc/netplan` if
static IP is needed.
f. **Creating Snapshots**
1. **Snapshot Creation**:
- Right-click the VM and select **Snapshot > Take
Snapshot**.
- Name the snapshot, add a description, and
choose memory and quiesce options.
2. **Managing Snapshots**:
- Use **Snapshot Manager** to view, revert, or
delete snapshots as needed.
---
---
7. **Begin Installation**
- **Review Settings** and confirm any final prompts.
- **Install the OS**: The installer will copy files, set up the
bootloader, and configure the OS.
- **Wait for Completion**: Installation time varies depending on
hardware and OS version.
7. Installation of AWS
Now you’re ready to start using AWS! Here’s how to access some
services:
● AWS Console: Sign in and access services like EC2 (for virtual
machines), S3 (for storage), RDS (for managed databases),
etc.
● AWS CLI: Use commands like aws ec2
describe-instances to interact with EC2.
● AWS SDK: Write code to access AWS services in your chosen
programming language.
8. Describe instances of EC2
Amazon EC2 (Elastic Compute Cloud) instances are virtual servers
provided by AWS. They are the core compute units within AWS,
allowing you to run applications, store data, and deploy workloads in
the cloud. EC2 offers various instance types optimized for different
use cases and divided into several families. Here’s an overview of
EC2 instance types:
1. Under the Quick Start tab, look for a Microsoft Windows Server image.
2. Select the version you prefer (e.g., Windows Server 2022, 2019).
3. Ensure the image is labeled as Free Tier Eligible if you're using AWS free
tier.
Step 5: Choose an Instance Type
1. Select an instance type based on your needs (e.g., t2.micro for the free
tier).
2. Click Next: Configure Instance Details.
1. Specify the size of the storage volume (default is 30 GB for free tier).
2. You can increase storage if needed but note the additional costs.
3. Click Next: Add Tags.
1. Choose Create a new key pair if you don’t already have one.
○ Name the key pair and download the .pem file. This is crucial for
accessing your instance.
2. If you have an existing key pair, select it from the dropdown.
3. Confirm and click Launch Instance.
Step 12: Connect to Your Instance