Results 1 to 7 of 7

Thread: AWS HVM AMI - Packer template

  1. #1
    Join Date
    2015-Mar
    Posts
    4

    AWS HVM AMI - Packer template

    Hi all,

    I wrote a Packer template to build an HVM compatible Kali AMI for AWS - you can see it here: https://github.com/ctarwater/packer-debian2kali-ec2

    I'm in the process of scrubbing it before making it a public AMI but hopefully it'll be available soon.

    I started with the official Debian HVM AMI and then tried to accurately recreate the official Kali image, using the live-build-script and cloud-build repo as reference.

    What I did was:
    • Start with base Debian install
    • Replace /etc/apt/sources.list with Kali repos
    • Install the kali metapackages listed on the live-build scripts
    • dist-upgrade


    So, it's running Debian, with the Kali kernel and kali packages.

    My question is, did I miss anything? I'm looking for a list of changes that the Kali devs make when building Kali from its Debian base.

    Thanks,
    Chris.
    Last edited by ctarwater; 2015-03-16 at 16:05.

  2. Download Kali and dual boot. By dual booting between Debian and Kali you will avoid the possible breaking of Debian by using Kali tools in it and you'll be able to know both systems are the way their designers intended them to be. Less fussing about in the medium and long term.

  3. #3
    Join Date
    2015-Mar
    Posts
    4
    Thanks for the reply, but dual booting isn't an option for AWS (Amazon Web Services) and since the Kali devs provide tools to build customized Kali for local use I'm looking to adapt the same steps for AWS.

  4. #4
    Join Date
    2013-Dec
    Posts
    1
    any update on this being in the AWS marketplace? Or on offsec creating an HVM image. One of the reviews on the current AWS Kali image is that they cant use T2 instances.

  5. #5
    Join Date
    2015-Mar
    Posts
    4
    Yeah, our AMI is available for free in the AWS marketplace (N. Virginia region only)

    AMI ID: ami-c45a71ac
    Owner: 235186345962
    Name: debian2kali-1427320319

  6. #6
    Join Date
    2015-Mar
    Posts
    4
    Just an update that the Packer script has been updated to the kali-rolling release so you can use it to build your own Kali HVM AMIs for AWS.

  7. Less fussing about in the medium and long term. Or on offsec creating an HVM image

Similar Threads

  1. Prepare Kali for use as a template vm in ovirt hypervisor
    By jeremytourville in forum General Archive
    Replies: 1
    Last Post: 2018-01-14, 14:05
  2. [Request] LXC template for Kali
    By MehranNZ in forum Development Archive
    Replies: 0
    Last Post: 2014-02-08, 06:30

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •