Community discussions

MikroTik App
 
mankomal
Member Candidate
Member Candidate
Topic Author
Posts: 106
Joined: Fri Nov 24, 2006 8:56 am

AWS Import gives error

Sun Oct 17, 2021 2:36 pm

While importing the new 7.1rc4 image on AWS its returning error:
 "Status": "deleted",
            "StatusMessage": "ClientError: Unknown OS / Missing OS files.",
            "Tags": []
I am following the https://wiki.mikrotik.com/wiki/Manual:C ... stallation guide available to do this (some aws commands have changed)
Any insights into this ?

cheers
 
mankomal
Member Candidate
Member Candidate
Topic Author
Posts: 106
Joined: Fri Nov 24, 2006 8:56 am

Re: AWS Import gives error

Thu Oct 21, 2021 9:31 am

any help on this ???
 
alkersan
just joined
Posts: 1
Joined: Tue Sep 10, 2019 8:58 am

Re: AWS Import gives error

Sun Nov 28, 2021 11:46 am

I've also wanted to try CHR v7 on AWS and found those steps on wiki rely on obsolete CLI tools. While there are up to date instructions for importing images, I found those quite tedious for a quick try (those involving s3 and plenty of IAM service roles).
In the end I've managed to create an AMI for CHR v7 using packer surrogate EBS builder. In short the steps are:
  • packer starts an instance with an empty EBS volume attached
  • a provisioning script is run over ssh
  • script downloads and unzips RAW image of CHR from mikrotik
  • script runs dd from the CHR image into attached EBS volume
  • then packer stops the instance and creates the AMI from EBS volume

I don't have the source code of that experiment anymore, but if interested - I could reproduce it without much of a hassle.
Last edited by alkersan on Mon Nov 29, 2021 9:27 am, edited 1 time in total.

Who is online

Users browsing this forum: No registered users and 17 guests