How deployments influence instance hours?

120 views
Skip to first unread message

Sergey Schetinin

unread,
Sep 4, 2011, 7:20:31 AM9/4/11
to google-a...@googlegroups.com
So when we deploy a new version, let's assume there was one instance running, it gets shut down, a new one is then started, how many instance-hours are consumed that hour?

Another option, the version deployed has a different name. The default version is switched to that new version and the previous one stops getting traffic. How many instance-hours are consumed that hour?

-Sergey

Sergey Schetinin

unread,
Sep 7, 2011, 6:53:13 AM9/7/11
to google-a...@googlegroups.com
Bump

Brandon Thomson

unread,
Sep 7, 2011, 1:10:39 PM9/7/11
to google-a...@googlegroups.com
I asked about this in the old billing FAQ thread but I don't think there was an official reply. My guess is that each deploy will cost 5-8c per running instance due to the restarts either way you do it (but I haven't tested it).

Gerald Tan

unread,
Sep 7, 2011, 11:31:08 PM9/7/11
to google-a...@googlegroups.com
The way I understand the "Max Idle Instances + Active Instance" thing and deployments causing the blue line to spike up (as well as the yellow line to a smaller extend), we will be charged for the yellow line spike instead of the blue line spike.

Sergey Schetinin

unread,
Sep 11, 2011, 5:38:49 PM9/11/11
to google-a...@googlegroups.com
Bump #2

> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/ETpwQCJTpT0J.
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengi...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

--
http://self.maluke.com/

Sergey Schetinin

unread,
Sep 16, 2011, 7:02:08 PM9/16/11
to google-a...@googlegroups.com

Gregory D'alesandre

unread,
Sep 19, 2011, 2:22:01 AM9/19/11
to google-a...@googlegroups.com
Hi Sergey,

Answers below:

On Sun, Sep 4, 2011 at 4:20 AM, Sergey Schetinin <mal...@gmail.com> wrote:
So when we deploy a new version, let's assume there was one instance running, it gets shut down, a new one is then started, how many instance-hours are consumed that hour?
If one instance was running, you deploy a new version, and so one new instance is spun up with that new version (and the old one is taken down), you should be charged at most one instance-hour for that hour.  If you are wondering about the 15 minute charge, that is for idle instances, when you deploy a new version the old instances don't sit idle, they come down.
 
Another option, the version deployed has a different name. The default version is switched to that new version and the previous one stops getting traffic. How many instance-hours are consumed that hour?
That depends on how the traffic ramps over to the new version.  If it is strictly 1 instance running, then it is possible you will get charged for more than 1 instance-hour over the course of that hour as both version could be serving traffic simultaneously.

I hope that helps!

Greg
 

-Sergey

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/M3JuuDRhwIEJ.
Reply all
Reply to author
Forward
0 new messages