 
 (ns aws.provider
   (:require 
-    [aws.common :refer (with-ctx instance-desc creds)]
+    [aws.common :refer (with-ctx instance-desc creds image-id)]
     [aws.networking :refer (update-ip set-hostname pub-dns)]
+    [aws.volumes :refer (delete-volumes handle-volumes)]
     [aws.sdk.ec2 :as ec2]
     [aws.sdk.ebs :as ebs]
     [aws.sdk.eip :as eip]

    [celestial.core :refer (Vm)] 
    [celestial.common :refer (import-logging )] 
    [celestial.persistency.systems :as s]
    [celestial.model :refer (translate vconstruct hypervisor)]))

(import-logging)


 `(if-let [~'instance-id (instance-id* ~'spec)]
    (do ~@body) 
    (throw+ {:type ::aws:missing-id :message "Instance id not found"}))) 

(defn create-instance 
   "creates instance from aws" 
