# Fly Machines API - Create Machine from Private Container Registry

**URL:** <https://community.fly.io/t/fly-machines-api-create-machine-from-private-container-registry/8311>\
**Category:** Questions / Help\
**Created:** [October 29, 2022, 7:34pm UTC](https://community.fly.io/t/fly-machines-api-create-machine-from-private-container-registry/8311 "2022-10-29T19:34:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tiwi](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/tiwi/32/39645_2.png) [@tiwi](https://community.fly.io/u/tiwi)\
**Post date:** [October 29, 2022, 7:34pm UTC](https://community.fly.io/t/fly-machines-api-create-machine-from-private-container-registry/8311/1 "2022-10-29T19:34:42Z")

</div>

Hi,

Is there a way to use the Fly Machines REST API [Create Machine](https://fly.io/docs/reference/machines/#create-a-machine) method without uploading the image to a public container registry?

Thanks!

---

<div class="post-metadata">

**Author:** ![ignoramous](https://avatars.discourse-cdn.com/v4/letter/i/a9adbd/32.png) [@ignoramous](https://community.fly.io/u/ignoramous)\
**Post date:** [October 29, 2022, 8:20pm UTC](https://community.fly.io/t/fly-machines-api-create-machine-from-private-container-registry/8311/2 "2022-10-29T20:20:19Z")

</div>

Yes, `registry.fly.io/<app-name>` is private to the org that owns the Fly app, `app-name`.

So, you can upload to it, instead.

Ref: [No such image error - #6 by kurt](https://community.fly.io/t/no-such-image-error/3266/6) (just the final deploy step here would be different).

---

<div class="post-metadata">

**Author:** ![tiwi](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/tiwi/32/39645_2.png) [@tiwi](https://community.fly.io/u/tiwi)\
**Post date:** [October 29, 2022, 9:03pm UTC](https://community.fly.io/t/fly-machines-api-create-machine-from-private-container-registry/8311/3 "2022-10-29T21:03:02Z")

</div>

That’s what I’ve been looking for. Do you happen to know if there are any restrictions about the amount/total size of images stored in those registries?

---

<div class="post-metadata">

**Author:** ![ignoramous](https://avatars.discourse-cdn.com/v4/letter/i/a9adbd/32.png) [@ignoramous](https://community.fly.io/u/ignoramous)\
**Post date:** [October 29, 2022, 10:03pm UTC](https://community.fly.io/t/fly-machines-api-create-machine-from-private-container-registry/8311/4 "2022-10-29T22:03:49Z")

</div>

Fly’s private registry is free for the time being: [Registry @ registry.fly.io, is there cost to this?](https://community.fly.io/t/registry-registry-fly-io-is-there-cost-to-this/7356)

I’ve seen Fly engs say even multi-gigabyte sized images are _fine_, ex: [2.2 GB docker image is not uploading. - #12 by michael](https://community.fly.io/t/2-2-gb-docker-image-is-not-uploading/1010/12)

That said, for Machine apps, Fly intends to (it doesn’t currently?) charge in proportion to the size of _deployed_ images: [We're launching Fly machines today - #8 by starptech](https://community.fly.io/t/were-launching-fly-machines-today/5305/8)
