Nt1330 Unit 3 Lab Report

Powerful Essays
1. Create Amazon S3 bucket: amazon ec2

The created S3 bucket stores the encrypted password file. Encryption of the file system happens using such a password or key. When a boot happens for an Amazon EC2 instance, the files are copied, the encrypted password is read, the password is decrypted, and the plaintext password is retrieved. Utilization of this password happens when encrypting the file system on the instance store disk. Through the first step, the creation of an S# bucket occurs to enable the storage of the encrypted password file on it. Application of necessary permissions happens afterward. Additional permissions to the bucket to enable endpoint access are necessary whenever using Amazon VPC endpoint for Amazon S3.

Sign into the
…show more content…
losetup /dev/loop0 secretfs

#Copy encrypted password file from S3. The password is used to configure LUKE later on.

aws s3 cp s3://an-internalstoragekeybucket/LuksInternalStorageKey .

# Decrypt the password from the file with KMS, save the secret password in LuksClearTextKey

LuksClearTextKey=$(aws --region us-east-1 kms decrypt --ciphertext-blob fileb://LuksInternalStorageKey --output text --query Plaintext | base64 --decode)

# Encrypt storage in the device. cryptsetup will use the Linux

# device mapper to create, in this case, /dev/mapper/secretfs.

# Initialize the volume and set an initial key.

echo "$LuksClearTextKey" | cryptsetup -y luksFormat /dev/loop0

# Open the partition, and create a mapping to /dev/mapper/secretfs.

echo "$LuksClearTextKey" | cryptsetup luksOpen /dev/loop0 secretfs

# Clear the LuksClearTextKey variable because we don't need it anymore.

unset LuksClearTextKey

# Check its status (optional).

cryptsetup status secretfs

# Zero out the new encrypted device.

dd if=/dev/zero of=/dev/mapper/secretfs

# Create a file system and verify its status.

mke2fs -j -O dir_index /dev/mapper/secretfs

# List file system configuration

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Nt1310 Unit 8 Lab 1

    • 421 Words
    • 2 Pages

    1. Public Keys and Public Certificates can be stored in the Central Repository. It is not the same as the Public Key Infrastructure, but it is not the same.…

    • 421 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Nt1310 Unit 3 Lab Report

    • 405 Words
    • 2 Pages

    . Na+ and K+. K+ was more concentrated inside the cell while Na+ was more concentrated outside the cell.…

    • 405 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Nt1330 Unit 3 Lab Report

    • 567 Words
    • 3 Pages

    Now that you have finished testing DNS and DHCP you will now configure the Windows Server 2008 machine as a replica Domain Controller. In this exercise you will install the Active Directory Domain Services Role on Server##A.…

    • 567 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Lab work—If either party has had previous sexual relationships, each should be tested for HIV and other sexually transmitted diseases. Undiagnosed sexually transmitted diseases can lead to infertility in both men and women. Testing for hepatitis is also advisable.…

    • 81 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    Nt1310 Unit 6 Lab Report

    • 624 Words
    • 3 Pages

    In measuring substances in the lab, reporting data, and performing calculations, it is both crucial important to be as precise and accurate as possible and also not to report false data. The rules of significant figures (digits in a measurement that reflect the measurement’s accuracy) allow us to have a methodical means of ensuring that the data and calculations we report reflect the accuracy that the equipment or data provide. To follow the guidelines for the correct number of significant figures, it is important to know the rules for multiplication and division, for addition and subtraction, for rounding, for measuring, and for scientific notation.…

    • 624 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Adjust cell suspension volume with media so that between 15 to 100 L of cells are used for each well/dish. This small plating volume ensures that there is even cell distribution and that growth factors, drugs, or substrates in the medium are not diluted.…

    • 237 Words
    • 1 Page
    Satisfactory Essays
  • Powerful Essays

    Nt1330 Unit 2 Lab Summary

    • 1237 Words
    • 5 Pages

    When you did your hand wash experiment, you decided a variable to test, say, hot vs cold water, you called this variable an “experimental variable” since it was the variable you were testing experimentally. In order to get meaningful data, you need to keep other things the same, for example the washing time had to be the same for both, you called the washing time a _Control_______ variable.…

    • 1237 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    NT1210 Lab 3.1 Review

    • 505 Words
    • 3 Pages

    What is the history of the TCP/IP model? Why was it created? Use your textbook and Internet research to support your answer.…

    • 505 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    Nt1330 Lab 2 Answer

    • 2665 Words
    • 11 Pages

    | You have been tasked with creating a test DNS namespace structure for your organization. Your first task is to design that namespace by specifying appropriate domain and host names for the computers in the division.…

    • 2665 Words
    • 11 Pages
    Powerful Essays
  • Good Essays

    Nt1310 Unit 4 Lab

    • 370 Words
    • 2 Pages

    Read the paper “Post–Green Revolution Trends in Yield Potential of Temperate Maize in the North-Central United States” by Duvick and Cassman (In Blackboard – Seed Technology folder).…

    • 370 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Nt1310 Unit 1 Lab Report

    • 609 Words
    • 3 Pages

    Visualize your radioactively labeled target sequence. If you used a radiolabeled 32P probe, then you would visualize by autoradiograph.…

    • 609 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Nt1310 Unit 3 Lab

    • 91 Words
    • 1 Page

    Transfer the uniformly weighted crushed tablets into a beaker and add 100cm3 of dilute sulfuric acid to the beaker.…

    • 91 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    Nt1310 Unit 9 Lab Report

    • 2198 Words
    • 9 Pages

    Suppose that a lone asteroid happens to be passing Jupiter on a unbound orbit ( well above Jupiter's atmosphere and far from all of Jupiter moons.) Which of the following statements would be true?…

    • 2198 Words
    • 9 Pages
    Good Essays
  • Powerful Essays

    I learned how to add a domain controller to an Active Directory domain, back up and restore Active Directory, and recognize and respond to Active Directory replication issues.…

    • 1334 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    Pt1420 Unit 6 Lab Report

    • 893 Words
    • 4 Pages

    Remove the above or just copy everything below which are the correct answers but Part 2 and 3 Needs to be in your own words! This assignment has been submitted through plagiarism checker. I am not responsible for you being into trouble for submitting my work!…

    • 893 Words
    • 4 Pages
    Good Essays