Minutes before the ceasefire took hold at 8 a.M. (local time), Hamas fired a barrage of long-range rockets as revenge for Israel's "massacres", referring to the killing of nearly 1,900 Palestinians, mostly civilians.
Sirens went off in Ashdod, Ashkelon, Sdot HaNegev, Kiryat Malachi, Rehovot, Rishon Lezion, Gedera, Lod, Ramle, and in Ma'ale Adumim which is in east of Jerusalem. Six of the 17 rockets fired from Gaza were intercepted by the anti-missile Iron Dome defence system, the army said.
The Israeli military said it has withdrawn its ground troops from Gaza for the humanitarian ceasefire in the conflict with Hamas.
"We have no forces within Gaza," Israel Defense Forces spokesman Lt Colonel Peter Lerner told CNN.
More From This Section
"All of them have left," General Moti Almoz told army radio.
Lieutenant Colonel Peter Lerner said troops would be "deployed in defensive positions" outside of Gaza and would retaliate to any violation of the truce.
Israel launched Operation Protective Edge on July 8 with the stated aim of ending rocket attacks and destroying tunnels used by Palestinian militants.
The IDF estimated that some 3,300 rockets had been fired at Israel during this period, and that Hamas had another 3,000 rockets left for future use.
As many as 67 Israelis, all but three of them soldiers, have also died in the conflict.
As the fragile truce took effect, Intelligence Minister Yuval Steinitz said he was skeptical over its prospect.
The removal of Israeli troops from Gaza reduces the risk of renewed clashes, but the possibility of aerial bombardment remained on both sides.